Skip to content

activitypub_remote_cache_enabled

github-actions[bot] edited this page Feb 11, 2026 · 1 revision

Filters whether remote media caching is enabled.

Auto-generated Example

/**
 * Filters whether remote media caching is enabled.
 *
 * @param bool $enabled 
 * @return bool The filtered value.
 */
function my_activitypub_remote_cache_enabled_callback( bool $enabled ) {
    // Your code here.
    return $enabled;
}
add_filter( 'activitypub_remote_cache_enabled', 'my_activitypub_remote_cache_enabled_callback' );

Parameters

  • bool $enabled Whether caching is enabled. Default true.

Files

\apply_filters( 'activitypub_remote_cache_enabled', true )

← All Hooks

Users

Developers

Clone this wiki locally