bp_group_object_template_results_groups_all_scope( $querystring,  $object )

Object template results members group all scope.

Description

Source

File: bp-groups/bp-groups-functions.php

function bp_group_object_template_results_groups_all_scope( $querystring, $object ) {
	if ( 'groups' !== $object ) {
		return $querystring;
	}

	$querystring             = wp_parse_args( $querystring );
	$querystring['scope']    = 'all';
	$querystring['page']     = 1;
	$querystring['per_page'] = '1';
	$querystring['user_id']  = 0;
	return http_build_query( $querystring );
}

Changelog

Changelog
Version Description
BuddyBoss 1.2.10 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.