WP_Query reset confusion
-
Hi, I am new to WordPress. Right now I am hand coding a WordPress theme. While writing a custom loop I came across this statement
$wp_query = null; $wp_query = $temp
Now I am confused if this is equivalent as
wp_reset_quer
meaning do they both do the same job? I searched google and forums but could not find an answer.
Thanks in advance to anyone willing to help resolve this dilemma.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP_Query reset confusion’ is closed to new replies.