BP_Core_oEmbed_Extension::get_item_id()
Get the item ID when filtering the oEmbed HTML.
Description
Should only be used during the ’embed_html’ hook.
Source
File: bp-core/classes/class-bp-core-oembed-extension.php
protected function get_item_id() { return $this->is_page() ? $this->validate_url_to_item_id( $this->set_permalink() ) : buddypress()->{$this->slug_endpoint}->embedid_in_progress; }
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.