A WordPress-centric search engine for devs and theme authors



the_post ›

Since4.1.0
Deprecatedn/a
do_action_ref_array( 'the_post', array( &$post, &$this )
Parameters: (2)
  • (WP_Post) $post The Post object (passed by reference).
    Required: Yes
  • (WP_Query) $this The current Query object (passed by reference).
    Required: Yes
Defined at:
Codex:

Fires once the post data has been setup.





Source

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