Fires before comments are retrieved.
$queryWP_Comment_Query
do_action_ref_array( 'pre_get_comments', array( &$this ) );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_comments