Warning: This hook has been deprecated.
htmledit_pre WordPress Hook
The htmledit_pre Wordpress hook allows you to modify the HTML code that is about to be edited in the WordPress editor. This can be useful for adding custom styles or other code that you want to be able to edit in the editor.
apply_filters( 'htmledit_pre', string $output ) #
Filters the text before it is formatted for the HTML editor.
Parameters
- $output
(string)The HTML-formatted text.
Source
Changelog
Version | Description |
---|---|
4.3.0 | This hook has been deprecated. |
2.5.0 | Introduced. |