apply_filters( 'bp_embed_get_cache', string $cache, int $id, string $cachekey, string $url, array $attr, array $rawattr )

Filters the cache value to be used in the oEmbed, if exists.

Parameters Parameters


(string) Empty initial cache value.


(int) ID that the caching is for.


(string) Key to use for the caching in the database.


(string) The URL attempting to be embedded.


(array) Parsed shortcode attributes.


(array) Unparsed shortcode attributes.

Source Source

File: bp-core/classes/class-bp-embed.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.