Archive by Author

wp_restore_post_revision

Restores a post to the specified revision.Can restore a past revision using all fields of the post revision, or only selected fields.

4063

Continue reading

wp_reset_vars

Resets global variables based on $_GET and $_POSTThis function resets global variables based on the names passed in the $vars array to the value of $_POST[$var] or $_GET[$var] or ” if neither is defined.

4059

Continue reading

wp_reset_query

Destroy the previous query and set up a new query.This should be used after query_posts() and before another query_posts(). This will remove obscure bugs that occur when the previous wp_query object is not destroyed properly before another is set up.

4057

Continue reading

wp_reset_postdata

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

4055

Continue reading