Title: 6.2.1 | Developer.WordPress.org

---

# New and updated in 6.2.1

Functions

Hooks

Classes

Methods

 * function[_filter_block_content_callback()](https://developer.wordpress.org/reference/functions/_filter_block_content_callback/)
 * Callback used for regular expression replacement in filter_block_content().
 * Used by [0 functions](https://developer.wordpress.org/reference/functions/_filter_block_content_callback/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/functions/_filter_block_content_callback/#uses)
   | Source: [wp-includes/blocks.php:2086](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/blocks.php#L2086-L2088)
 * function[sanitize_locale_name()](https://developer.wordpress.org/reference/functions/sanitize_locale_name/)
 * Strips out all characters not allowed in a locale name.
 * Used by [1 function](https://developer.wordpress.org/reference/functions/sanitize_locale_name/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/sanitize_locale_name/#uses)
   | Source: [wp-includes/formatting.php:2467](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/formatting.php#L2467-L2480)
 * hook[sanitize_locale_name](https://developer.wordpress.org/reference/hooks/sanitize_locale_name/)
 * Filters a sanitized locale name string.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/sanitize_locale_name/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/sanitize_locale_name/#uses)
   | Source: [wp-includes/formatting.php:2479](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/formatting.php#L2479-L2479)
 * method[WP_HTML_Tag_Processor::set_attribute()](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/set_attribute/)
 * Updates or creates a new attribute on the currently matched tag with the passed
   value.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/set_attribute/#used-by)
   | Uses [7 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/set_attribute/#uses)
   | Source: [wp-includes/html-api/class-wp-html-tag-processor.php:4310](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/html-api/class-wp-html-tag-processor.php#L4310-L4451)
 * method[WP_HTML_Tag_Processor::get_updated_html()](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/get_updated_html/)
 * Returns the string representation of the HTML Tag Processor.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/get_updated_html/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/get_updated_html/#uses)
   | Source: [wp-includes/html-api/class-wp-html-tag-processor.php:4637](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/html-api/class-wp-html-tag-processor.php#L4637-L4684)
 * method[WP_HTML_Tag_Processor::parse_next_tag()](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/parse_next_tag/)
 * Parses the next tag.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/parse_next_tag/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/parse_next_tag/#uses)
   | Source: [wp-includes/html-api/class-wp-html-tag-processor.php:1707](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/html-api/class-wp-html-tag-processor.php#L1707-L2119)
 * method[WP_HTML_Tag_Processor::apply_attributes_updates()](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/apply_attributes_updates/)
 * Applies attribute updates to HTML document.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/apply_attributes_updates/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/apply_attributes_updates/#uses)
   | Source: [wp-includes/html-api/class-wp-html-tag-processor.php:2497](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/html-api/class-wp-html-tag-processor.php#L2497-L2584)
 * class[WP_HTML_Tag_Processor](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/)
 * Core class used to modify attributes in an HTML document for tags matching a 
   query.
 * Used by [3 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_html_tag_processor/#uses)
   | Source: [wp-includes/html-api/class-wp-html-tag-processor.php:411](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/html-api/class-wp-html-tag-processor.php#L411-L5077)