WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_editor_settings

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-editor.php apply_filters 83 /**
* Filters the wp_editor() settings.
*
* @since 4.0.0
*
* @see _WP_Editors::parse_settings()
*
* @param array $settings Array of editor arguments.
* @param string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block'
* when called from block editor's Classic block.
*/
wp-includes/script-loader.php apply_filters 487 /**
* Adds inline scripts required for the TinyMCE in the block editor.
*
* These TinyMCE init settings are used to extend and override the default settings
* from `_WP_Editors::default_settings()` for the Classic block.
*
* @since 5.0.0
*
* @global WP_Scripts $wp_scripts
*/

Hook Parameters

Parameter Type Name Description
array $settings Array of editor arguments.
string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block'