Warning: This hook has been deprecated.

richedit_pre WordPress Hook

The richedit_pre Wordpress hook is used to filter the content that is going to be edited in the WordPress editor. This hook is called when the editor is loaded and the user has clicked on the "Visual" tab.

apply_filters( 'richedit_pre', string $output ) #

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.


Top ↑

Parameters

$output

(string)Text for the rich text editor.


Top ↑

Source

File: wp-includes/deprecated.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.3.0This hook has been deprecated.
2.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