Definition:
function the_post() {}
Iterate the post index in the loop.
Defined actions
- loop_start
do_action_ref_array('loop_start', array(&$this));
Source code
function the_post() {
global $post;
$this->in_the_loop = true;
if ( $this->current_post == -1 ) // loop has just started
do_action_ref_array('loop_start', array(&$this));
$post = $this->next_post();
setup_postdata($post);
}
3033

February 12, 2011 


No comments yet... Be the first to leave a reply!