block_editor_settings_all WordPress Filter Hook
The block_editor_settings_all hook is used to modify the settings for all block editors in WordPress. This hook is called after the default settings have been loaded and allows your plugin to override any of the settings.
apply_filters( 'block_editor_settings_all', array $editor_settings , WP_Block_Editor_Context $block_editor_context ) #
Filters the settings to pass to the block editor for all editor type.
Parameters
- $editor_settings
(array)Default editor settings.
- $block_editor_context
(WP_Block_Editor_Context)The current block editor context.
Source
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |