AnsPress_Query::the_object()
Description #
Set up the current object inside the loop.
Source #
File: includes/class-query.php
public function the_object() { $this->in_the_loop = true; $this->object = $this->next(); // Loop has just started. if ( 0 === $this->current ) { /** * Fires if the current object is the first in the loop. */ do_action( 'ap_loop_start' ); } }
Expand full source code Collapse full source code View on GitHub: includes/class-query.php:229
Add your comment