WordPress at a glance
filter is not described

pre_ent2ncr filter-hook . WP 3.3.0

Filters text before named entities are converted into numbered entities.

A non-null string must be returned for the filter to be evaluated.

Usage

add_filter( 'pre_ent2ncr', 'filter_function_name_7218', 10, 2 );
function filter_function_name_7218( $converted_text, $text ){
	// filter...

	return $converted_text;
}
$converted_text(string/null)
The text to be converted.
Default: null
$text(string)
The text prior to entity conversion.

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

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

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

ent2ncr()
pre_ent2ncr
wp-includes/formatting.php 3935
$filtered = apply_filters( 'pre_ent2ncr', null, $text );

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

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