site_status_persistent_object_cache_url хук-фильтрWP 6.1.0

Filters the action URL for the persistent object cache health check.

Использование

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(строка)
Learn more link for persistent object cache health check.

Список изменений

С версии 6.1.0 Введена.

Где вызывается хук

WP_Site_Health::get_test_persistent_object_cache()
site_status_persistent_object_cache_url
wp-admin/includes/class-wp-site-health.php 2430-2434
$action_url = apply_filters(
	'site_status_persistent_object_cache_url',
	/* translators: Localized Support reference. */
	__( 'https://wordpress.org/support/article/optimization/#persistent-object-cache' )
);

Где используется хук в WordPress

Использование не найдено.