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



block_editor_settings ›

Since5.0.0
已弃用n/a
apply_filters( 'block_editor_settings', $editor_settings, $post )
参数: (2)
  • (array) $editor_settings Default editor settings.
    Required: Yes
  • (WP_Post) $post Post being edited.
    Required: Yes
定义在:
文档:

Filters the settings to pass to the block editor.





源码

$editor_settings = apply_filters( 'block_editor_settings', $editor_settings, $post );