run_wptexturize filter-hookWP 4.0.0

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.

Usage

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;
}
$run_texturize(true|false)
Whether to short-circuit wptexturize().

Changelog

Since 4.0.0 Introduced.

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.