the_comment
Iterate comment index in the comment loop.
Description
(object) the_comment();
Returns (object)
Usage
if ( !function_exists( 'the_comment' ) ) { require_once ABSPATH . WPINC . '/query.php'; } // NOTICE! Understand what this does before running. $result = the_comment();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/query.php
- function the_comment() {
- global $wp_query;
- return $wp_query->the_comment();
- }