WP HOOKS
filtrod 6.1.0

site_status_available_object_cache_services

Args 1Plik wp-admin/includes/class-wp-site-health.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the persistent object cache services available to the user.

This can be useful to hide or add services not included in the defaults.

Parametry

ParametrTypOpis
$servicesstring[]The list of available persistent object cache services.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'site_status_available_object_cache_services', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii