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.
Description Description
Parameters Parameters
- $cache
-
Empty initial cache value.
- $id
-
ID that the caching is for.
- $cachekey
-
Key to use for the caching in the database.
- $url
-
The URL attempting to be embedded.
- $attr
-
Parsed shortcode attributes.
- $rawattr
-
Unparsed shortcode attributes.
Source Source
File: bp-core/classes/class-bp-embed.php
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |