bp_blogs_comments_clauses_select_by_id( array $retval )
Only select comments by ID instead of all fields when using get_comments().
Description Description
See also See also
Parameters Parameters
- $retval
-
(Required) Current SQL clauses in array format.
Return Return
(array)
Source Source
File: bp-blogs/bp-blogs-filters.php
function bp_blogs_comments_clauses_select_by_id( $retval ) { $retval['fields'] = 'comment_ID'; return $retval; }
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |