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.


Top ↑

Parameters

$wp_meta_boxes

(array)Global meta box state.


Top ↑

Source

File: wp-admin/includes/post.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More