WP HOOKS
akcjaod 4.0.0

auth_cookie_bad_session_token

Args 1Plik wp-includes/pluggable.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires if a bad session token is encountered.

Parametry

ParametrTypOpis
$cookie_elementsstring[]{ Authentication cookie components. None of the components should be assumed to be valid as they come directly from a client-provided cookie value. @type string $username User's username. @type string $expiration The time the cookie expires as a UNIX timestamp. @type string $token User's session token used. @type string $hmac The security hash for the cookie. @type string $scheme The cookie scheme to use. }

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'auth_cookie_bad_session_token', 'twoja_funkcja' );

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

Popularne w tej kategorii