BP_Core_oEmbed_Extension::get_item_id()
Get the item ID when filtering the oEmbed HTML.
Description Description
Should only be used during the ’embed_html’ hook.
Source 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 Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |