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

Top ↑

Parameters Parameters


(array) (Required) Current SQL clauses in array format.

Top ↑

Return Return


Top ↑

Source Source

File: bp-blogs/bp-blogs-filters.php

function bp_blogs_comments_clauses_select_by_id( $retval ) {
	$retval['fields'] = 'comment_ID';

	return $retval;

Top ↑

Changelog Changelog

Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.