BP_Core_Members_Switching::filter_removable_query_args( string[] $args )

Filters the list of query arguments which get removed from admin area URLs in WordPress.

Description

Parameters

$args

(Required) List of removable query arguments.

Return

(string[]) Updated list of removable query arguments.

Source

File: bp-members/classes/class-bp-core-members-switching.php

	public function filter_removable_query_args( array $args ) {
		return array_merge( $args, array(
			'user_switched',
			'switched_off',
			'switched_back',
		) );
	}

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.