Uma área de pesquisa sobre o WordPress para devs e autores do tema



the_post ›

Desde4.1.0
Obsoleton/a
do_action_ref_array( 'the_post', array( &$post, &$this )
Parâmetros: (2)
  • (WP_Post) $post The Post object (passed by reference).
    Required: Yes
  • (WP_Query) $this The current Query object (passed by reference).
    Required: Yes
Definido em:
Codex:

Fires once the post data has been setup.





Fonte

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