WP HOOKS
akcjaod 6.3.0

wp_cache_set_last_changed

Args 3Plik wp-includes/functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after a cache group `last_changed` time is updated.

This may occur multiple times per page load and registered actions must be performant.

Parametry

ParametrTypOpis
$groupstringThe cache group name.
$timestringThe new last changed time (msec sec).
$previous_timestring | falseThe previous last changed time. False if not previously set.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'wp_cache_set_last_changed', 'twoja_funkcja', 10, 3 );

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

Popularne w tej kategorii