apply_filters( 'format_for_editor', string $text , string $default_editor )
Filters the text after it is formatted for the editor.
Parameters
- $text
-
The formatted text.
- $default_editor
-
The default editor for the current user. It is usually either 'html' or 'tinymce'.
Source
Changelog
Version | Description |
---|---|
WP-4.3.0 | Introduced. |