Tagged Questions
0
votes
1answer
124 views
Using global $post v/s $GLOBALS['post']
It's probably more of a PHP question, but I would like to know if there are any differences in using
global $post;
echo $post->ID;
when compared to
echo $GLOBALS['post']->ID;
to access the ...