do_action( 'bp_embed_update_cache', string $cache, string $cachekey, int $id )

Fires if there is no existing cache and triggers cache setting.


Description Description

Lets components / plugins save their cache.


Top ↑

Parameters Parameters

$cache

(string) Newly cached HTML markup for embed.

$cachekey

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

$id

(int) ID to do the caching for.


Source Source

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

View on Trac



Top ↑

Changelog 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.