W3cubDocs

/WordPress

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_settingsarray
Default editor settings.
$block_editor_contextWP_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.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/block_editor_settings_all