apply_filters( 'bp_groups_get_total_groups_sql', string $t_sql, array $total_sql, array $r )

Filters the SQL used to retrieve total group results.

Description

Parameters

$t_sql

Concatenated SQL statement used for retrieving total group results.

$total_sql

Array of SQL parts for the query.

$r

Array of parsed arguments for the get method.

Source

File: bp-groups/classes/class-bp-groups-group.php

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.