Fires before comments are retrieved.
Parameters
$queryWP_Comment_Query- Current instance of WP_Comment_Query (passed by reference).
Source
do_action_ref_array( 'pre_get_comments', array( &$this ) );
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
Fires before comments are retrieved.
$queryWP_Comment_Querydo_action_ref_array( 'pre_get_comments', array( &$this ) );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.