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



block_editor_settings › WordPress过滤钩子

Since5.0.0
已弃用Use the {@see 'block_editor_settings_all'} filter instead.
› $editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );
参数: (2)
  • () editor_settings Default editor settings.
    Required: Yes
  • () post Post being edited.
    Required: Yes
定义在:
文档:

Filters the settings to pass to the block editor.





源码

$editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );