Filter hook 'pre_ent2ncr'

in WP Core File wp-includes/formatting.php at line 4106

Description

Filters text before named entities are converted into numbered entities. A non-null string must be returned for the filter to be evaluated.

Occurrences

Filename Line Number
wp-includes/formatting.php 4106

Parameters

Type Name Description
string|null $converted_text The text to be converted. Default null.
string $text The text prior to entity conversion.

PHP Doc

/**
	 * Filters text before named entities are converted into numbered entities.
	 *
	 * A non-null string must be returned for the filter to be evaluated.
	 *
	 * @since 3.3.0
	 *
	 * @param string|null $converted_text The text to be converted. Default null.
	 * @param string      $text           The text prior to entity conversion.
	 */