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_resolve_post_date, wp_set_post_cats, wp_set_post_tags, setup_postdata, get_postdata

Top Google Results

User discussions

wpseek mobile