WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about the_editor_content

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-editor.php apply_filters 285 /**
* Filters the default editor content.
*
* @since 2.1.0
*
* @param string $content Default editor content.
* @param string $default_editor The default editor for the current user.
* Either 'html' or 'tinymce'.
*/
wp-includes/widgets/class-wp-widget-text.php apply_filters 474 /**
* Outputs the Text widget settings form.
*
* @since 2.8.0
* @since 4.8.0 Form only contains hidden inputs which are synced with JS template.
* @since 4.8.1 Restored original form to be displayed when in legacy mode.
*
* @see WP_Widget_Text::render_control_template_scripts()
* @see _WP_Editors::editor()
*
* @param array $instance Current settings.
*/

Hook Parameters

Parameter Type Name Description
string $content Default editor content.
string $default_editor The default editor for the current user.