BBP_User_Query::the_user()
Sets up the current user.
Description Description
Retrieves the next user, sets up the user, sets the ‘in the loop’ property to true.
Source Source
File: includes/users/template.php
public function the_user() { $this->in_the_loop = true; // loop has just started if ( $this->current_user === -1 ) { /** * Fires once the loop is started. * * @since 2.6.0 bbPress (r6330) * * @param WP_Query &$this The WP_Query instance (passed by reference). */ do_action_ref_array( 'loop_start', array( &$this ) ); } $this->next_user(); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |