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

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

Description

Lets components / plugins save their cache.

Parameters

$cache

Newly cached HTML markup for embed.

$cachekey

Key to use for the caching in the database.

$id

ID to do the caching for.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.