WP_Query::next_comment()
Iterate current comment index and return WP_Comment object.
Description Description
Return Return
(WP_Comment) Comment object.
Source Source
File: wp-includes/class-wp-query.php
public function next_comment() { $this->current_comment++; $this->comment = $this->comments[ $this->current_comment ]; return $this->comment; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |