WP_Query::reset_postdata()

Method: After looping through a nested query, this function restores the $post global to the current post in this query.

Source: wp-includes/class-wp-query.php:4062

Used by 1 function | Uses 1 function