File: bp-members/classes/class-bp-core-members-switching.php |
Description |
|---|---|
| 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::maybe_switch_url() |
Returns the switch to or switch back URL for a given user. |
| 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 |
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. |