BP_Core_oEmbed_Extension::set_fallback_html( int $item_id )
Sets the fallback HTML for the oEmbed response.
Description
In a WordPress oEmbed item, the fallback HTML is a
. This is usually hidden after the
Parameters
- $item_id
-
(Required) Your item ID to do checks against.
Return
(string) Fallback HTML you want to output.
Source
File: bp-core/classes/class-bp-core-oembed-extension.php
abstract protected function set_fallback_html( $item_id );
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.