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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_editor_settings