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

Filters the list of shortcodes not to texturize.

Parameters

$default_no_texturize_shortcodes

(string[]) An array of shortcode names.

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.

Source

File: wp-includes/formatting.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/no_texturize_shortcodes