File: bp-members/classes/class-bp-core-members-switching.php |
Description |
---|---|
bp_member_switching_switched_message |
Filters the contents of the message that’s displayed to switched users in the admin area. |
BP_Core_Members_Switching::get_old_user() |
Validates the old user cookie and returns its user data. |
BP_Core_Members_Switching::authenticate_old_user() |
Authenticates an old user by verifying the latest entry in the auth cookie. |
BP_Core_Members_Switching::action_admin_bar_menu() |
Adds a ‘Switch back to {user}’ link in WordPress’ admin bar. |
BP_Core_Members_Switching::action_wp_meta() |
Adds a ‘Switch back to {user}’ link to the Meta sidebar widget. |
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. |
BP_Core_Members_Switching |
BuddyBoss Member Switching class |
BP_Core_Members_Switching::init_hooks() |
Sets up all the filters and actions. |
BP_Core_Members_Switching::action_plugins_loaded() |
Defines the names of the cookies used by Member Switching. |
BP_Core_Members_Switching::action_personal_options() |
Outputs the ‘View As’ link on the user editing screen if the current user has permission to switch to them. |