no_texturize_shortcodes хук-фильтрWP 2.8.0

Filters the list of shortcodes not to texturize.

Использование

add_filter( 'no_texturize_shortcodes', 'wp_kama_no_texturize_shortcodes_filter' );

/**
 * Function for `no_texturize_shortcodes` filter-hook.
 * 
 * @param string[] $default_no_texturize_shortcodes An array of shortcode names.
 *
 * @return string[]
 */
function wp_kama_no_texturize_shortcodes_filter( $default_no_texturize_shortcodes ){

	// filter...
	return $default_no_texturize_shortcodes;
}
$default_no_texturize_shortcodes(string[])
An array of shortcode names.

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

wptexturize()
no_texturize_shortcodes
wp-includes/formatting.php 228
$no_texturize_shortcodes = apply_filters( 'no_texturize_shortcodes', $default_no_texturize_shortcodes );

Где используется хук в WordPress

Использование не найдено.