hidden_meta_boxes WordPress Filter Hook

The hidden_meta_boxes hook is a action hook that is called when a metabox is hidden.

apply_filters( 'hidden_meta_boxes', string[] $hidden, WP_Screen $screen, bool $use_defaults ) #

Filters the list of hidden meta boxes.


Parameters

$hidden

(string[])An array of IDs of hidden meta boxes.

$screen

(WP_Screen)WP_Screen object of the current screen.

$use_defaults

(bool)Whether to show the default meta boxes. Default true.


Top ↑

Source

File: wp-admin/includes/screen.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.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.