Filters the text after it is formatted for the editor.
$textstring
$default_editorstring
'html' or 'tinymce'.return apply_filters( 'format_for_editor', $text, $default_editor );
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/format_for_editor