-
Notifications
You must be signed in to change notification settings - Fork 80
activitypub_surge_cache_config_file
github-actions[bot] edited this page Aug 18, 2025
·
8 revisions
Filter the config file path.
/**
* Filter the config file path.
*
* @param string|false $config_file
* @return string|false The filtered value.
*/
function my_activitypub_surge_cache_config_file_callback( string|false $config_file ) {
// Your code here.
return $config_file;
}
add_filter( 'activitypub_surge_cache_config_file', 'my_activitypub_surge_cache_config_file_callback' );
-
string|false
$config_file
The config file path.
\apply_filters( 'activitypub_surge_cache_config_file', $config_file )
Follow @[email protected] for updates and news.