bp_embed_message_cache( string $cache, int $id, string $cachekey )
Fetch a private message item’s cached embeds.
Description Description
Used during BP_Embed::parse_oembed() via bp_messages_embed().
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 message item.
- $cachekey
-
(Required) The cache key generated in BP_Embed::parse_oembed().
Return Return
(mixed) The cached embeds for this message item.
Source Source
File: bp-messages/bp-messages-template.php
function bp_embed_message_cache( $cache, $id, $cachekey ) { return bp_messages_get_meta( $id, $cachekey ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |