We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Filters whether remote media caching is enabled.
/** * 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' );
bool
$enabled
\apply_filters( 'activitypub_remote_cache_enabled', true )
← All Hooks