default_hidden_meta_boxes

过滤钩子


apply_filters( 'default_hidden_meta_boxes', $hidden, $screen )
参数
  • (string[])
    $hidden
    An array of IDs of meta boxes hidden by default.
    Required:
  • (WP_Screen)
    $screen
    WP_Screen object of the current screen.
    Required:
定义位置
  • wp-admin/includes/screen.php
    , line 181
引入
3.1.0
弃用

Filters the default list of hidden meta boxes.

$hidden = apply_filters( 'default_hidden_meta_boxes', $hidden, $screen );