AnsPress_Reputation_Query::the_reputation()
Description #
Set up the current reputation inside the loop.
Source #
File: includes/reputation.php
public function the_reputation() {
$this->in_the_loop = true;
$this->reputation = $this->next_reputation();
// Loop has just started.
if ( 0 === $this->current ) {
/**
* Fires if the current reputation is the first in the loop.
*/
do_action( 'ap_reputation_loop_start' );
}
}
Expand full source code Collapse full source code View on GitHub: includes/reputation.php:804
Add your comment