no_texturize_tags
Filter HookDescription
Filters the list of HTML elements not to texturize.Hook Information
File Location |
wp-includes/formatting.php
View on GitHub
|
Hook Type | Filter |
Line Number | 220 |
Hook Parameters
Type | Name | Description |
---|---|---|
string[]
|
$default_no_texturize_tags
|
An array of HTML element names. |
Usage Examples
Basic Usage
<?php
// Hook into no_texturize_tags
add_filter('no_texturize_tags', 'my_custom_filter', 10, 1);
function my_custom_filter($default_no_texturize_tags) {
// Your custom filtering logic here
return $default_no_texturize_tags;
}
Source Code Context
wp-includes/formatting.php:220
- How this hook is used in WordPress core
<?php
215 *
216 * @since 2.8.0
217 *
218 * @param string[] $default_no_texturize_tags An array of HTML element names.
219 */
220 $no_texturize_tags = apply_filters( 'no_texturize_tags', $default_no_texturize_tags );
221 /**
222 * Filters the list of shortcodes not to texturize.
223 *
224 * @since 2.8.0
225 *
PHP Documentation
<?php
/**
* Filters the list of HTML elements not to texturize.
*
* @since 2.8.0
*
* @param string[] $default_no_texturize_tags An array of HTML element names.
*/
Quick Info
- Hook Type: Filter
- Parameters: 1
- File: wp-includes/formatting.php
Related Hooks
Related hooks will be displayed here in future updates.