WordPress开发者和主题制作者的搜索引擎



default_hidden_meta_boxes ›

Since3.1.0
已弃用n/a
apply_filters( 'default_hidden_meta_boxes', $hidden, $screen )
参数: (2)
  • (array) $hidden An array of meta boxes hidden by default.
    Required: Yes
  • (WP_Screen) $screen WP_Screen object of the current screen.
    Required: Yes
定义在:
文档:

Filters the default list of hidden meta boxes.





源码

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