the_comment()
Iterate comment index in the comment loop.
No Hooks.
Return
null
. Nothing (null).
Usage
the_comment();
Notes
- Global. WP_Query. $wp_query WordPress Query object.
Changelog
Since 2.2.0 | Introduced. |
the_comment() the comment code WP 6.7.1
function the_comment() { global $wp_query; if ( ! isset( $wp_query ) ) { return; } $wp_query->the_comment(); }