BP_Core_oEmbed_Extension::set_oembed_response_data( int $item_id )

Set the oEmbed response data.

Description

Parameters

$item_id

(int) (Required) Your item ID to do checks against.

Return

(array) Should contain 'content', 'title', 'author_url', 'author_name' as array keys. 'author_url' and 'author_name' is optional; the rest are required.

Source

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

	abstract protected function set_oembed_response_data( $item_id );

Changelog

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.