WP HOOKS
akcjaod 2.7.0

auth_cookie_malformed

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

Opis — z kodu źródłowego

Fires if an authentication cookie is malformed.

Parametry

ParametrTypOpis
$cookiestringMalformed auth cookie.
$schemestringAuthentication scheme. Values include 'auth', 'secure_auth', or 'logged_in'.

Wywołanie

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

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

Popularne w tej kategorii