Opened 13 years ago
Closed 13 years ago
#17024 closed enhancement (duplicate)
get_approved_comments() is not filterable
Reported by: | kevinB | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | needs-patch |
Focuses: | Cc: |
Description
function get_approved_comments(), used in comments-popup.php, is not filterable. Plugins may use existing WP_Query and/or WP_Comment_Query hooks to filter the comments result set, and need the ability to filter this function accordingly.
The corresponding patch adds query filter 'get_approved_comments_query'
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
query filter for get_approved_comments()