BP_Core_oEmbed_Extension::set_oembed_response_data( int $item_id )

Set the oEmbed response data.


Description Description


Parameters Parameters

$item_id

(Required) Your item ID to do checks against.


Top ↑

Return Return

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


Top ↑

Source Source

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

	abstract protected function set_oembed_response_data( $item_id );

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.