apply_filters( 'no_texturize_tags', string[] $default_no_texturize_tags )
Filters the list of HTML elements not to texturize.
Parameters
-
$default_no_texturize_tags
string[] -
An array of HTML element names.
More Information
- The ‘
no_texturize_tags
‘ filter allows you to specify which HTML elements should not run through the wptexturize() function. - By default, WordPress will automatically texturize all post/page content. The texturize process replaces “normal” quotes with “fancy” quotes (aka “smart” quotes or “curly” quotes). Sometimes this is NOT what you want… particularly if your shortcode must contain raw, preprocessed text.
Source
File: wp-includes/formatting.php
.
View all references
$no_texturize_tags = apply_filters( 'no_texturize_tags', $default_no_texturize_tags );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example Migrated from Codex:
Add the blockquote HTML tag to tags exempt from texurization.