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.


Top ↑

Source

File: wp-includes/block-editor.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.