bp_search_filter_bp_before_has_groups_parse_args( mixed $args )

Before searching groups parse type to be blank.

Description

Parameters

$args

(mixed) (Required)

Return

(mixed)

Source

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

function bp_search_filter_bp_before_has_groups_parse_args( $args ) {

	if ( wp_doing_ajax() && isset( $_GET['action'] ) && $_GET['action'] === 'bp_search_ajax' ) {
		$args['type'] = '';
	}

	return $args;
}

Changelog

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