On this page
apply_filters( 'pre_ent2ncr', string|null $converted_text, string $text )
Filters text before named entities are converted into numbered entities.
Description
A non-null string must be returned for the filter to be evaluated.
Parameters
$converted_textstring|null-
The text to be converted. Default null.
$textstring-
The text prior to entity conversion.
Source
File: wp-includes/formatting.php. View all references
$filtered = apply_filters( 'pre_ent2ncr', null, $text );
Related
Used By
| Used By | Description |
|---|---|
| ent2ncr() wp-includes/formatting.php | Converts named entities into numbered entities. |
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_ent2ncr