bp_embed_activity_cache( string $cache, int $id, string $cachekey )
Fetch an activity item’s cached embeds.
Description Description
Used during BP_Embed::parse_oembed() via bp_activity_embed().
See also See also
Parameters Parameters
- $cache
-
(Required) An empty string passed by BP_Embed::parse_oembed() for functions like this one to filter.
- $id
-
(Required) The ID of the activity item.
- $cachekey
-
(Required) The cache key generated in BP_Embed::parse_oembed().
Return Return
(mixed) The cached embeds for this activity item.
Source Source
File: bp-activity/bp-activity-functions.php
function bp_embed_activity_cache( $cache, $id, $cachekey ) { return bp_activity_get_meta( $id, $cachekey ); }
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |