htmledit_pre filter-hook . WP 2.5.0
Deprecated in from version 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 the text before it is formatted for the HTML editor.
Usage
add_filter( 'htmledit_pre', 'filter_function_name_901' ); function filter_function_name_901( $output ){ // filter... return $output; }
- $output(string)
- The HTML-formatted text.
Changelog
Since 2.5.0 | Introduced. | |
Deprecated | 4.3.0 |
Where the hook is called
htmledit_pre
wp-includes/deprecated.php 3636
return apply_filters( 'htmledit_pre', $output );
wp-includes/class-wp-editor.php 294
$content = apply_filters_deprecated( 'htmledit_pre', array( $content ), '4.3.0', 'format_for_editor' );