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