Methods |
Description |
---|---|
BP_Core_oEmbed_Extension::content() |
Add content for your oEmbed response here. |
BP_Core_oEmbed_Extension::content_buffer_end() |
End object buffer. |
BP_Core_oEmbed_Extension::content_buffer_start() |
Start object buffer. |
BP_Core_oEmbed_Extension::custom_hooks() |
Do what you need to do here to initialize any custom hooks. |
BP_Core_oEmbed_Extension::filter_embed_html() |
Filters the embed HTML for our BP oEmbed endpoint. |
BP_Core_oEmbed_Extension::filter_embed_url() |
Pass our BuddyBoss activity permalink for embedding. |
BP_Core_oEmbed_Extension::filter_rest_url() |
Append our custom slug endpoint to oEmbed endpoint URL. |
BP_Core_oEmbed_Extension::get_item() |
Callback for the API endpoint. |
BP_Core_oEmbed_Extension::get_item_id() |
Get the item ID when filtering the oEmbed HTML. |
BP_Core_oEmbed_Extension::get_oembed_response_data() |
Fetch our oEmbed response data to return. |
BP_Core_oEmbed_Extension::inject_content() |
Inject content into the embed template. |
BP_Core_oEmbed_Extension::is_page() |
Add a check for when you are on the page you want to oEmbed. |
BP_Core_oEmbed_Extension::oembed_xml_request() |
If oEmbed request wants XML, return XML instead of JSON. |
BP_Core_oEmbed_Extension::register_route() |
Register the oEmbed REST API route. |
BP_Core_oEmbed_Extension::set_fallback_html() |
Sets the fallback HTML for the oEmbed response. |
BP_Core_oEmbed_Extension::set_iframe_title() |
Set the iframe title. |
BP_Core_oEmbed_Extension::set_oembed_response_data() |
Set the oEmbed response data. |
BP_Core_oEmbed_Extension::set_permalink() |
Set permalink for oEmbed link discovery. |
BP_Core_oEmbed_Extension::set_route_args() |
If your oEmbed endpoint requires additional arguments, set them here. |
BP_Core_oEmbed_Extension::setup_hooks() |
Hooks! We do the dirty work here, so you don’t have to! 🙂 |
BP_Core_oEmbed_Extension::setup_properties() |
Set up properties. |
BP_Core_oEmbed_Extension::setup_template_parts() |
Set up custom embed template parts for BuddyPress use. |
BP_Core_oEmbed_Extension::validate_url_to_item_id() |
Validate the URL to see if it matches your item ID. |
BP_Core_Recently_Active_Widget::__construct() |
Constructor method. |
BP_Core_Recently_Active_Widget::form() |
Output the Recently Active widget options form. |
BP_Core_Recently_Active_Widget::parse_settings() |
Merge the widget settings into defaults array. |
BP_Core_Recently_Active_Widget::update() |
Update the Recently Active widget options. |
BP_Core_Recently_Active_Widget::widget() |
Display the Recently Active widget. |
BP_Core_User::__construct() |
Class constructor. |
BP_Core_User::delete_last_activity() |
Delete a user’s last_activity value. |
BP_Core_User::get_core_userdata() |
Get WordPress user details for a specified user. |
BP_Core_User::get_last_activity() |
Get last activity data for a user or set of users. |
BP_Core_User::get_profile_data() |
Fetch xprofile data for the current user. |
BP_Core_User::get_specific_users() |
Get details of specific users from the database. |
BP_Core_User::get_user_extras() |
Fetch extra user information, such as friend count and last profile update message. |
BP_Core_User::get_users() |
Get a list of users that match the query parameters. |
BP_Core_User::get_users_by_letter() |
Fetch the details for all users whose usernames start with the given letter. |
BP_Core_User::populate() |
Populate the instantiated class with data based on the User ID provided. |
BP_Core_User::populate_extras() |
Populates extra fields such as group and friendship counts. |
BP_Core_User::search_users() |
Find users who match on the value of an xprofile data. |
BP_Core_User::update_last_activity() |
Set a user’s last_activity value. |
BP_Core_Whos_Online_Widget::__construct() |
Constructor method. |
BP_Core_Whos_Online_Widget::form() |
Output the Who’s Online widget options form. |
BP_Core_Whos_Online_Widget::parse_settings() |
Merge the widget settings into defaults array. |
BP_Core_Whos_Online_Widget::update() |
Update the Who’s Online widget options. |
BP_Core_Whos_Online_Widget::widget() |
Display the Who’s Online widget. |
BP_Core::__construct() |
Start the members component creation process. |
BP_Core::bootstrap() |
Populate the global data needed before BuddyPress can continue. |
BP_Core::includes() |
Include bp-core files. |
BP_Core::load_components() |
Load components files |