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



do_meta_boxes ›

Since3.0.0
已弃用n/a
do_action( 'do_meta_boxes', $post_type, 'normal', $post )
参数: (3)
  • (string) $post_type Post type of the post.
    Required: Yes
  • (string) $context string Meta box context.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
定义在:
文档:

Fires after meta boxes have been added.

Fires once for each of the default meta box contexts: normal, advanced, and side.





源码

do_action( 'do_meta_boxes', $post_type, 'normal', $post );