default_hidden_meta_boxes WordPress Filter Hook

The default_hidden_meta_boxes hook is used to hide certain metaboxes on the post editing screen by default. The metaboxes that are hidden can be changed by the user in the Screen Options tab.

apply_filters( 'default_hidden_meta_boxes', string[] $hidden, WP_Screen $screen ) #

Filters the default list of hidden meta boxes.


Parameters

$hidden

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

$screen

(WP_Screen)WP_Screen object of the current screen.


Top ↑

Source

File: wp-admin/includes/screen.php

View on Trac



Top ↑

Changelog

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