site_status_persistent_object_cache_url
Filters the action URL for the persistent object cache health check.
Usage
add_filter( 'site_status_persistent_object_cache_url', 'wp_kama_site_status_persistent_object_cache_url_filter' );
/**
* Function for `site_status_persistent_object_cache_url` filter-hook.
*
* @param string $action_url Learn more link for persistent object cache health check.
*
* @return string
*/
function wp_kama_site_status_persistent_object_cache_url_filter( $action_url ){
// filter...
return $action_url;
}
- $action_url(string)
- Learn more link for persistent object cache health check.
Changelog
| Since 6.1.0 | Introduced. |
Where the hook is called
site_status_persistent_object_cache_url
wp-admin/includes/class-wp-site-health.php 2568-2572
$action_url = apply_filters( 'site_status_persistent_object_cache_url', /* translators: Localized Support reference. */ __( 'https://developer.wordpress.org/advanced-administration/performance/optimization/#persistent-object-cache' ) );