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
File: wp-includes/block-editor.php
.
View all references
$editor_settings = apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context );
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
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