richedit_pre filter-hook . WP 2.0.0
Deprecated in 4.3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.
Deprecated: 4.3.0
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.
Usage
add_filter( 'richedit_pre', 'filter_function_name_1920' ); function filter_function_name_1920( $output ){ // filter... return $output; }
- $output(string)
- Text for the rich text editor.
Where the hook is called
richedit_pre
wp-includes/deprecated.php 3573
return apply_filters( 'richedit_pre', '' );
wp-includes/class-wp-editor.php 286
$content = apply_filters_deprecated( 'richedit_pre', array( $content ), '4.3.0', 'format_for_editor' );
wp-includes/deprecated.php 3581
return apply_filters( 'richedit_pre', $output );