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



submitpost_box ›

Since2.5.0
已弃用n/a
do_action( 'submitpost_box', $post )
参数:
  • (WP_Post) $post Post object.
    Required: Yes
定义在:
文档:

Fires before meta boxes with 'side' context are output for all post types other than 'page'.

The submitpost box is a meta box with 'side' context, so this hook fires just before it is output.





源码

do_action( 'submitpost_box', $post );