File: bp-members/classes/class-bp-core-members-switching.php |
Description |
---|---|
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::filter_login_message() |
Adds a ‘Switch back to {user}’ link to the WordPress login screen. |
BP_Core_Members_Switching::filter_user_row_actions() |
Adds a ‘View As’ link to each list of user actions on the Users screen. |
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::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. |
BP_Core_Members_Switching::action_init() |
Loads localisation files and routes actions depending on the ‘action’ query var. |
BP_Core_Members_Switching::get_redirect() |
Fetches the URL to redirect to for a given user (used after switching). |