WordPress hook directory
pre_get_comments

WordPress version history for pre_get_comments

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
3.1 wp-includes/comment.php 224 View in context action
3.2 wp-includes/comment.php 229 View in context action
3.3 wp-includes/comment.php 229 View in context action
3.4 wp-includes/comment.php 229 View in context action
3.5 wp-includes/comment.php 247 View in context action
3.6 wp-includes/comment.php 247 View in context action
3.7 wp-includes/comment.php 254 View in context action
3.8 wp-includes/comment.php 277 View in context action
3.9 wp-includes/comment.php 276 View in context action
4.0 wp-includes/comment.php 291 View in context action
4.1 wp-includes/comment.php 418 View in context action
4.2 wp-includes/comment.php 496 View in context action
4.3 wp-includes/comment.php 492 View in context action
4.4 wp-includes/class-wp-comment-query.php 357 View in context action
4.5 wp-includes/class-wp-comment-query.php 374 View in context action
4.6 wp-includes/class-wp-comment-query.php 386 View in context action
4.7 wp-includes/class-wp-comment-query.php 386 View in context action
4.8 wp-includes/class-wp-comment-query.php 386 View in context action
4.9 wp-includes/class-wp-comment-query.php 374 View in context action
5.0 wp-includes/class-wp-comment-query.php 374 View in context action
5.1 wp-includes/class-wp-comment-query.php 374 View in context action

Related Hooks

We find related hooks using word stems. pre_get_comments has 1 significant word stem(s): comments. Note that some of the hooks below may not appear in all versions of WP.