wp_reset_postdata


wp_reset_postdata ( No parameters )

Defined at:

Description

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

Related Functions

wp_set_post_tags, wp_set_post_cats, setup_postdata, get_postdata, wp_get_post_cats

Top Google Results

User discussions

wpseek mobile