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
$editor_settings = apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context );
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
As of WordPress 5.9, these are the default settings that are parsed through the `block_editor_settings_all` filter:
Note: The default block patterns have been cut for length.
Basic example