wp_editor_settings WordPress Filter Hook
The wp_editor_settings hook allows you to modify the settings for the WordPress editor. This hook is called when the editor is initialized, and allows you to modify the settings for the editor.
apply_filters( 'wp_editor_settings', array $settings , string $editor_id ) #
Filters the wp_editor() settings.
Description
See also
Parameters
- $settings
(array)Array of editor arguments.
- $editor_id
(string)Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |