format_to_edit WordPress Filter Hook
The format_to_edit hook is used to format the post content before it is edited in the WordPress editor. This hook is called when the post is loaded in the editor. The hook can be used to modify the post content before it is edited.
apply_filters( 'format_to_edit', string $content ) #
Filters the text to be formatted for editing.
Parameters
- $content
(string)The text, prior to formatting for editing.
Source
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |