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



the_post ›

Since4.1.0
已弃用n/a
do_action_ref_array( 'the_post', array( &$post, &$this )
参数: (2)
  • (WP_Post) $post The Post object (passed by reference).
    Required: Yes
  • (WP_Query) $this The current Query object (passed by reference).
    Required: Yes
定义在:
文档:

Fires once the post data has been setup.





源码

do_action_ref_array( 'the_post', array( &$post, &$this ) );