Used By
Used By | Description |
---|---|
wp-includes/class-wp-query.php: WP_Query::the_comment() | Sets up the current comment. |
Iterate current comment index and return WP_Comment object.
(WP_Comment) Comment object.
File: wp-includes/class-wp-query.php
public function next_comment() { $this->current_comment++; $this->comment = $this->comments[ $this->current_comment ]; return $this->comment; }
Version | Description |
---|---|
2.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_query/next_comment