After looping through a separate query, this function restores the $post global to the current post in the main query.

25 related functions found for: wp_reset_postdata

Top ↑

Related terms found for this post

wp-parser-related-wordspostdata, query-php, reset, wp-includes, wp-reset
wp-parser-packageQuery, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • postdata
  • Query
  • query-php
  • reset
  • wp-includes
  • wp-includes/query.php
  • wp-reset
  • query

Top ↑

Description Description

Top ↑

Source Source

File: wp-includes/query.php


Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.