@since: BuddyBoss 1.0.0 |
Description |
---|---|
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. |
BP_Core_Members_Switching::remember() |
Returns whether or not the current logged in user is being remembered in the form of a persistent browser cookie (ie. they checked the ‘Remember Me’ check box when they logged in). This is used to persist the ‘remember me’ value when the user switches to another user. |