apply_filters( ‘filter_block_editor_meta_boxes’, array $wp_meta_boxes )

In this article

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_boxesarray
Global meta box state.

Source

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

Changelog

VersionDescription
5.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.