do_action_ref_array( 'the_post', WP_Post $post, WP_Query $this )

Fires once the post data has been setup.


Parameters

$post

(WP_Post) The Post object (passed by reference).

$this

(WP_Query) The current Query object (passed by reference).


Source

File: wp-includes/class-wp-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.1.0 Introduced $this parameter.
WP-2.8.0 Introduced.