block_editor_settings_all

过滤钩子


apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context )
参数
  • (array)
    $editor_settings
    Default editor settings.
    Required:
  • (WP_Block_Editor_Context)
    $block_editor_context
    The current block editor context.
    Required:
定义位置
  • wp-includes/block-editor.php
    , line 539
引入
5.8.0
弃用

Filters the settings to pass to the block editor for all editor type.

$editor_settings = apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context );