BP_Core_oEmbed_Extension::is_page()
Add a check for when you are on the page you want to oEmbed.
Description
You’ll want to return a boolean here. eg. bp_is_single_activity().
Return
(bool)
Source
File: bp-core/classes/class-bp-core-oembed-extension.php
abstract protected function is_page();
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.