bp_embed_activity_cache
Fetch an activity item's cached embeds.
Description
Used during via .
Parameters (3)
Usage
if ( !function_exists( 'bp_embed_activity_cache' ) ) { require_once ABSPATH . PLUGINDIR . 'buddypress/bp-activity/bp-activity-functions.php'; } // An empty string passed by BP_Embed::parse_oembed() for // functions like this one to filter. $cache = ''; // The ID of the activity item. $id = -1; // The cache key generated in BP_Embed::parse_oembed(). $cachekey = ''; // NOTICE! Understand what this does before running. $result = bp_embed_activity_cache($cache, $id, $cachekey);
Defined (1)
The function is defined in the following location(s).
- /bp-activity/bp-activity-functions.php
- function bp_embed_activity_cache( $cache, $id, $cachekey ) {
- return bp_activity_get_meta( $id, $cachekey );
- }