bp_activity_oembed_dataparse( string $retval, object $data )
Cache full oEmbed response from oEmbed.
Description
Parameters
- $retval
-
(Required) Current oEmbed result.
- $data
-
(Required) Full oEmbed response.
- $url
-
(Required) URL used for the oEmbed request.
Return
(string)
Source
File: bp-activity/bp-activity-functions.php
function bp_activity_oembed_dataparse( $retval, $data ) { buddypress()->activity->oembed_response = $data; return $retval; }
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.