File: bp-members/classes/class-bp-core-members-switching.php |
Description |
---|---|
BP_Core_Members_Switching::secure_auth_cookie() |
Returns whether or not Member Switching’s equivalent of the ‘auth’ cookie should be secure. |
BP_Core_Members_Switching::admin_bar_link_color_scheme() |
Returns background and color value base on current color scheme |
BP_Core_Members_Switching::filter_user_has_cap() |
Filters a user’s capabilities so they can be altered at runtime. |
BP_Core_Members_Switching::filter_map_meta_cap() |
Filters the required primitive capabilities for the given primitive or meta capability. |
BP_Core_Members_Switching::filter_show_admin_bar() |
Filter force show the admin bar while switched to the user |
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::switch_back_url() |
Returns the nonce-secured URL needed to switch back to the originating user. |
BP_Core_Members_Switching::switch_off_url() |
Returns the nonce-secured URL needed to switch off the current user. |
BP_Core_Members_Switching::current_url() |
Returns the current URL. |