filter_block_editor_meta_boxes
apply_filters( ‘filter_block_editor_meta_boxes’, array $wp_meta_boxes )
过滤器::在呈现元框之前触发。
Filter Hook: Fires right before the meta boxes are rendered.
说明(Description)
这允许过滤元框数据,此时应该已经存在。不要用作添加元框数据的方法。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$wp_meta_boxes | (array) | 全局元框状态。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.0.0 | wp-admin/includes/post.php:2263 | 1 | 0 |
filter_block_editor_meta_boxes 为WP2原创文章,链接:https://www.wp2.cn/hook/filter_block_editor_meta_boxes/