File: bp-members/classes/class-bp-core-members-switching.php
Description
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::switch_back_url()

Returns the nonce-secured URL needed to switch back to the originating user.

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

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

BP_Core_Members_Switching::action_admin_bar_menu()

Adds a ‘Switch back to {user}’ link in WordPress’ admin bar.

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

BP_Core_Members_Switching::action_wp_meta()

Adds a ‘Switch back to {user}’ link to the Meta sidebar widget.

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

BP_Core_Members_Switching::action_admin_footer()

Adds a ‘Switch back to {user}’ link to the WordPress footer if the admin toolbar isn’t showing.

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

BP_Core_Members_Switching::filter_login_message()

Adds a ‘Switch back to {user}’ link to the WordPress login screen.

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