AnsPress_Reputation_Query::have()
Description #
Check if lopp has reputation.
Source #
File: includes/reputation.php
public function have() {
if ( $this->current + 1 < $this->count ) {
return true;
} elseif ( ( $this->current + 1 ) === $this->count ) {
do_action( 'ap_reputations_loop_end' );
// Do some cleaning up after the loop.
$this->rewind_reputation();
}
$this->in_the_loop = false;
return false;
}
Expand full source code Collapse full source code View on GitHub: includes/reputation.php:755
Add your comment