pre_ent2ncr WordPress Filter Hook

This hook is called before an entry is converted to NCR (name conforming format). It allows you to modify the entry before it is converted.

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.


Top ↑

Parameters

$converted_text

(string|null)The text to be converted. Default null.

$text

(string)The text prior to entity conversion.


Top ↑

Source

File: wp-includes/formatting.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More