apply_filters( ‘pre_ent2ncr’, string|null $converted_text, string $text )

In this article

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

$filtered = apply_filters( 'pre_ent2ncr', null, $text );

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.