On this page
apply_filters( 'wp_editor_settings', array $settings, string $editor_id )
Filters the wp_editor() settings.
Description
See also
Parameters
$settingsarray-
Array of editor arguments.
$editor_idstring-
Unique editor identifier, e.g.
'content'. Accepts'classic-block'when called from block editor's Classic block.
Source
File: wp-includes/class-wp-editor.php. View all references
$settings = apply_filters( 'wp_editor_settings', $settings, $editor_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_tinymce_inline_scripts() wp-includes/script-loader.php | Adds inline scripts required for the TinyMCE in the block editor. |
| _WP_Editors::parse_settings() wp-includes/class-wp-editor.php | Parse default arguments for the editor instance. |
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_editor_settings