File: bp-core/classes/class-bp-core-oembed-extension.php |
Description |
---|---|
BP_Core_oEmbed_Extension::inject_content() |
Inject content into the embed template. |
BP_Core_oEmbed_Extension::get_item() |
Callback for the API endpoint. |
BP_Core_oEmbed_Extension::oembed_xml_request() |
If oEmbed request wants XML, return XML instead of JSON. |
BP_Core_oEmbed_Extension::filter_embed_url() |
Pass our BuddyBoss activity permalink for embedding. |
BP_Core_oEmbed_Extension::filter_embed_html() |
Filters the embed HTML for our BP oEmbed endpoint. |
bp_{$this->slug_endpoint}_embed_html |
Dynamic filter to return BP oEmbed HTML. |
BP_Core_oEmbed_Extension::filter_rest_url() |
Append our custom slug endpoint to oEmbed endpoint URL. |
BP_Core_oEmbed_Extension::get_item_id() |
Get the item ID when filtering the oEmbed HTML. |
BP_Core_oEmbed_Extension::setup_properties() |
Set up properties. |
BP_Core_oEmbed_Extension::setup_hooks() |
Hooks! We do the dirty work here, so you don’t have to! 🙂 |