run_wptexturize WordPress Filter Hook

The run_wptexturize hook is called after the content has been passed through the wptexturize filter.

apply_filters( 'run_wptexturize', bool $run_texturize ) #

Filters whether to skip running wptexturize().


Description

Returning false from the filter will effectively short-circuit wptexturize() and return the original text passed to the function instead.

The filter runs only once, the first time wptexturize() is called.

Top ↑

See also


Top ↑

Parameters

$run_texturize

(bool)Whether to short-circuit wptexturize().


Top ↑

Source

File: wp-includes/formatting.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.0.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