@since: BuddyBoss 1.0.0
Description
BP_Core_Members_Switching::get_instance()

Singleton instance.

Source: bp-members/classes/class-bp-core-members-switching.php:941

BP_Core_Members_Switching::__construct()

Private class constructor. Use `get_instance()` to get the instance.

Source: bp-members/classes/class-bp-core-members-switching.php:956

BP_Core_Members_Switching::action_bp_button()

Adds a ‘View As’ link to each member’s profile page and profile listings in BuddyPress.

Source: bp-members/classes/class-bp-core-members-switching.php:543

BP_Core_Members_Switching::action_bbpress_button()

Adds a ‘View As’ link to each member’s profile page in bbPress.

Source: bp-members/classes/class-bp-core-members-switching.php:587

BP_Core_Members_Switching::filter_removable_query_args()

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

Source: bp-members/classes/class-bp-core-members-switching.php:626

BP_Core_Members_Switching::switch_to_url()

Returns the nonce-secured URL needed to switch to a given user ID.

Source: bp-members/classes/class-bp-core-members-switching.php:665

BP_Core_Members_Switching::action_admin_notices()

Displays the ‘Switched to {user}’ and ‘Switch back to {user}’ messages in the admin area.

Source: bp-members/classes/class-bp-core-members-switching.php:237

bp_member_switching_switched_message

Filters the contents of the message that’s displayed to switched users in the admin area.

Source: bp-members/classes/class-bp-core-members-switching.php:289

BP_Core_Members_Switching::get_old_user()

Validates the old user cookie and returns its user data.

Source: bp-members/classes/class-bp-core-members-switching.php:333

BP_Core_Members_Switching::authenticate_old_user()

Authenticates an old user by verifying the latest entry in the auth cookie.

Source: bp-members/classes/class-bp-core-members-switching.php:355