@since: BuddyBoss 1.0.0 |
Description |
---|---|
BP_Core_Members_Switching::get_instance() |
Singleton instance. |
BP_Core_Members_Switching::__construct() |
Private class constructor. Use `get_instance()` to get the instance. |
BP_Core_Members_Switching::action_bp_button() |
Adds a ‘View As’ link to each member’s profile page and profile listings in BuddyPress. |
BP_Core_Members_Switching::action_bbpress_button() |
Adds a ‘View As’ link to each member’s profile page in bbPress. |
BP_Core_Members_Switching::filter_removable_query_args() |
Filters the list of query arguments which get removed from admin area URLs in WordPress. |
BP_Core_Members_Switching::switch_to_url() |
Returns the nonce-secured URL needed to switch to a given user ID. |
BP_Core_Members_Switching::action_admin_notices() |
Displays the ‘Switched to {user}’ and ‘Switch back to {user}’ messages in the admin area. |
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. |