Determines whether there are more commens available.
Description
Automatically rewinds commens when finished.
Source
public function have_commens() {
if ( $this->current_comment + 1 < $this->comment_count ) {
return true;
} elseif ( $this->current_comment + 1 === $this->comment_count ) {
$this->rewind_commens();
}
return false;
}
Changuelog
| Versionen | Description |
|---|---|
| 2.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.