WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about format_for_editor

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 4302 /**
* Filters the text after it is formatted for the editor.
*
* @since 4.3.0
*
* @param string $text The formatted text.
* @param string $default_editor The default editor for the current user.
* It is usually either 'html' or 'tinymce'.
*/

Hook Parameters

Parameter Type Name Description
string $text The formatted text.
string $default_editor The default editor for the current user.