filter_block_editor_meta_boxes WordPress Filter Hook
The filter_block_editor_meta_boxes hook is used to filter the meta boxes that are displayed in the Block Editor. This hook is used to add, remove, or change the order of the meta boxes.
apply_filters( 'filter_block_editor_meta_boxes', array $wp_meta_boxes ) #
Fires right before the meta boxes are rendered.
Description
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.
Parameters
- $wp_meta_boxes
(array)Global meta box state.
Source
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |