Methods |
Description |
---|---|
BP_Core_Follow_Follower_Widget::form() |
Widget settings form. |
BP_Core_Follow_Follower_Widget::get_user_display_name() |
Display user name to ‘First Name’ when they have selected ‘First Name & Last Name’ in display format. |
BP_Core_Follow_Follower_Widget::set_display_user() |
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages. |
BP_Core_Follow_Follower_Widget::update() |
Callback to save widget settings. |
BP_Core_Follow_Follower_Widget::widget() |
Displays the widget. |
BP_Core_Follow_Following_Widget::__construct() |
Constructor. |
BP_Core_Follow_Following_Widget::form() |
Widget settings form. |
BP_Core_Follow_Following_Widget::get_user_display_name() |
Display user name to ‘First Name’ when they have selected ‘First Name & Last Name’ in display format. |
BP_Core_Follow_Following_Widget::set_display_user() |
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages. |
BP_Core_Follow_Following_Widget::update() |
Callback to save widget settings. |
BP_Core_Follow_Following_Widget::widget() |
Displays the widget. |
BP_Core_Friends_Widget::__construct() |
Class constructor. |
BP_Core_Friends_Widget::enqueue_scripts() |
Enqueue scripts. |
BP_Core_Friends_Widget::form() |
Render the widget edit form. |
BP_Core_Friends_Widget::get_user_display_name() |
Display user name to ‘First Name’ when they have selected ‘First Name & Last Name’ in display format. |
BP_Core_Friends_Widget::set_display_user() |
Set Display user_id to loggedin_user_id if someone added the widget on outside bp pages. |
BP_Core_Friends_Widget::update() |
Process a widget save. |
BP_Core_Friends_Widget::widget() |
Display the widget. |
BP_Core_Gdpr::__construct() | |
BP_Core_Gdpr::load_on_bp_dependency() |
Function to load all the dependencies of GDPR classes. |
BP_Core_HTML_Element::__construct() |
Constructor. |
BP_Core_HTML_Element::contents() |
Returns full contents of HTML element. |
BP_Core_HTML_Element::get() |
Returns a property from this class. |
BP_Core_Login_Widget::__construct() |
Constructor method. |
BP_Core_Login_Widget::form() |
Output the login widget options form. |
BP_Core_Login_Widget::update() |
Update the login widget options. |
BP_Core_Login_Widget::widget() |
Display the login widget. |
BP_Core_Members_Switching::__construct() |
Private class constructor. Use `get_instance()` to get the instance. |
BP_Core_Members_Switching::action_admin_bar_menu() |
Adds a ‘Switch back to {user}’ link in WordPress’ admin bar. |
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::action_admin_notices() |
Displays the ‘Switched to {user}’ and ‘Switch back to {user}’ messages in the admin area. |
BP_Core_Members_Switching::action_bbpress_button() |
Adds a ‘View As’ link to each member’s profile page in bbPress. |
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_init() |
Loads localisation files and routes actions depending on the ‘action’ query var. |
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::action_plugins_loaded() |
Defines the names of the cookies used by Member Switching. |
BP_Core_Members_Switching::action_wp_meta() |
Adds a ‘Switch back to {user}’ link to the Meta sidebar widget. |
BP_Core_Members_Switching::admin_bar_link_color_scheme() |
Returns background and color value base on current color scheme |
BP_Core_Members_Switching::authenticate_old_user() |
Authenticates an old user by verifying the latest entry in the auth cookie. |
BP_Core_Members_Switching::current_url() |
Returns the current URL. |
BP_Core_Members_Switching::filter_login_message() |
Adds a ‘Switch back to {user}’ link to the WordPress login screen. |
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_removable_query_args() |
Filters the list of query arguments which get removed from admin area URLs in WordPress. |
BP_Core_Members_Switching::filter_show_admin_bar() |
Filter force show the admin bar while switched to the user |
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_user_row_actions() |
Adds a ‘View As’ link to each list of user actions on the Users screen. |
BP_Core_Members_Switching::get_instance() |
Singleton instance. |
BP_Core_Members_Switching::get_old_user() |
Validates the old user cookie and returns its user data. |
BP_Core_Members_Switching::get_redirect() |
Fetches the URL to redirect to for a given user (used after switching). |
BP_Core_Members_Switching::init_hooks() |
Sets up all the filters and actions. |