apply_filters( ‘richedit_pre’, string $output )

In this article

This hook has been deprecated.

Filters text returned for the rich text editor.

Description

This filter is first evaluated, and the value returned, if an empty string is passed to wp_richedit_pre() . If an empty string is passed, it results in a break tag and line feed.

If a non-empty string is passed, the filter is evaluated on the wp_richedit_pre() return after being formatted.

Parameters

$outputstring
Text for the rich text editor.

Source

return apply_filters( 'richedit_pre', '' );

Changelog

VersionDescription
4.3.0This hook has been deprecated.
2.0.0Introduced.

User Contributed Notes

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