wpseek.com
WordPress开发者和主题制作者的搜索引擎



block_editor_settings_all › WordPress过滤钩子

Since5.8.0
已弃用n/a
apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context )
参数: (2)
  • (array) $editor_settings Default editor settings.
    Required: Yes
  • (WP_Block_Editor_Context) $block_editor_context The current block editor context.
    Required: Yes
定义在:
文档:

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 );