run_wptexturize filter-hookWP 4.0.0

Filters whether to skip running wptexturize().

Returning false from the filter will effectively short-circuit wptexturize() and return the original text passed to the function instead.

The filter runs only once, the first time wptexturize() is called.


add_filter( 'run_wptexturize', 'wp_kama_run_wptexturize_filter' );

 * Function for `run_wptexturize` filter-hook.
 * @param bool $run_texturize Whether to short-circuit wptexturize().
 * @return bool
function wp_kama_run_wptexturize_filter( $run_texturize ){

	// filter...
	return $run_texturize;
Whether to short-circuit wptexturize().


Since 4.0.0 Introduced.

Where the hook is called

wp-includes/formatting.php 78
$run_texturize = apply_filters( 'run_wptexturize', $run_texturize );

Where the hook is used in WordPress

Usage not found.