Make WordPress Core

Changeset 2741


Ignore:
Timestamp:
08/03/2005 12:28:09 AM (20 years ago)
Author:
matt
Message:

More hooks, fixes #1535

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r2716 r2741  
    599599        $post = $this->next_post();
    600600        setup_postdata($post);
     601
     602        if ( $this->current_post == 0 ) // loop has just started
     603            do_action('loop_start');
    601604    }
    602605
     
    605608            return true;
    606609        } elseif ($this->current_post + 1 == $this->post_count) {
     610            do_action('loop_end');
    607611            // Do some cleaning up after the loop
    608612            $this->rewind_posts();
Note: See TracChangeset for help on using the changeset viewer.