apply_filters( "no_texturize_shortcodes", string[] $default_no_texturize_shortcodes )

Filters the list of shortcodes not to texturize.




An array of shortcode names.


File: wp-includes/formatting.php.

View all references

$no_texturize_shortcodes = apply_filters( "no_texturize_shortcodes", $default_no_texturize_shortcodes );

More Information

By default, WordPress will automatically texturize all post/page content through the wptexturize() function, even content in shortcodes. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *