filter_block_editor_meta_boxes filter-hook . WP 5.0.0
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.
Usage
add_filter( 'filter_block_editor_meta_boxes', 'filter_function_name_8531' ); function filter_function_name_8531( $wp_meta_boxes ){ // filter... return $wp_meta_boxes; }
- $wp_meta_boxes(array)
- Global meta box state.
Changelog
Since 5.0.0 | Introduced. |
Where the hook is called
filter_block_editor_meta_boxes
wp-admin/includes/post.php 2296
$wp_meta_boxes = apply_filters( 'filter_block_editor_meta_boxes', $wp_meta_boxes );