site_status_persistent_object_cache_url filter-hookWP 6.1.0

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

WP_Site_Health::get_test_persistent_object_cache()
site_status_persistent_object_cache_url
wp-admin/includes/class-wp-site-health.php 2507-2511
$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' )
);

Where the hook is used in WordPress

Usage not found.