A WordPress-centric search engine for devs and theme authors



pre_ent2ncr ›

Since3.3.0
Deprecatedn/a
apply_filters( 'pre_ent2ncr', null, $text )
Parameters: (2)
  • (null) $converted_text The text to be converted. Default null.
    Required: Yes
  • (string) $text The text prior to entity conversion.
    Required: Yes
Defined at:
Codex:

Filters text before named entities are converted into numbered entities.

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





Source

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