W3cubDocs

/WordPress

apply_filters( ‘hidden_meta_boxes’, string[] $hidden, WP_Screen $screen, bool $use_defaults )

Filters the list of hidden meta boxes.

Parameters

$hiddenstring[]
An array of IDs of hidden meta boxes.
$screenWP_Screen
WP_Screen object of the current screen.
$use_defaultsbool
Whether to show the default meta boxes.
Default true.

Source

return apply_filters( 'hidden_meta_boxes', $hidden, $screen, $use_defaults );

Changelog

Version Description
3.3.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/hidden_meta_boxes