no_texturize_tags
Filters the list of HTML elements not to texturize.
Использование
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.
Список изменений
| С версии 2.8.0 | Введена. |
Где вызывается хук
wp-includes/formatting.php 220
$no_texturize_tags = apply_filters( 'no_texturize_tags', $default_no_texturize_tags );