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)


Top ↑

Source Source

File: bp-core/classes/class-bp-core-oembed-extension.php

	abstract protected function is_page();

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.