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



filter_block_editor_meta_boxes › WordPress过滤钩子

Since5.0.0
已弃用n/a
apply_filters( 'filter_block_editor_meta_boxes', $wp_meta_boxes )
参数:
  • (array) $wp_meta_boxes Global meta box state.
    Required: Yes
定义在:
文档:

Fires right before the meta boxes are rendered.

This allows for the filtering of meta box data, that should already be present by this point. Do not use as a means of adding meta box data.





源码

$wp_meta_boxes = apply_filters( 'filter_block_editor_meta_boxes', $wp_meta_boxes );