Filter hook 'richedit_pre'
in WP Core File wp-includes/deprecated.php at line 3600
Description
Filters text returned for the rich text editor. 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.
Occurrences
Filename |
Line Number |
wp-includes/deprecated.php |
3600 |
wp-includes/deprecated.php |
3608 |
Parameters
Type |
Name |
Description |
string |
$output |
Text for the rich text editor. |
PHP Doc
/**
* Filters text returned for the rich text editor.
*
* 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.
*
* @since 2.0.0
* @deprecated 4.3.0
*
* @param string $output Text for the rich text editor.
*/