I’ve read the docs on this, and I *think* I understand, but I want to be sure, because I’m basing some work on this.
$thispage = $wp_query->post;
Am I correct in my assumption that this is assigning the contents of a data structure (the current post) to a variable called $thispage?
If I am correct, is there any documentation on the data structure for a post?
- The topic ‘what does this line of code do?’ is closed to new replies.