no_texturize_tags
Filters the list of HTML elements not to texturize.
Usage
add_filter( 'no_texturize_tags', 'wp_kama_no_texturize_tags_filter' ); /** * Function for `no_texturize_tags` filter-hook. * * @param string[] $default_no_texturize_tags An array of HTML element names. * * @return string[] */ function wp_kama_no_texturize_tags_filter( $default_no_texturize_tags ){ // filter... return $default_no_texturize_tags; }
- $default_no_texturize_tags(string[])
- An array of HTML element names.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
wp-includes/formatting.php 220
$no_texturize_tags = apply_filters( 'no_texturize_tags', $default_no_texturize_tags );