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



add_meta_boxes › WordPress动作钩子

Since3.0.0
已弃用n/a
› do_action( 'add_meta_boxes', $post_type, $post )
参数: (2)
  • () object_type The type of the current object that meta boxes were added to. Can be 'post', 'page', custom post types, 'comment', or 'link'.
    Required: Yes
  • () object The post, comment, or link object. Type varies depending on `$object_type`.
    Required: Yes
定义在:
文档:

Fires after all built-in meta boxes have been added.





源码

do_action( 'add_meta_boxes', $post_type, $post );