WP HOOKS
filtrod 3.5.0

nonce_user_logged_out

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

Opis — z kodu źródłowego

Filters whether the user who generated the nonce is logged out.

Parametry

ParametrTypOpis
$uidintID of the nonce-owning user.
$actionstring | intThe nonce action, or -1 if none was provided.

Wywołanie

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

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

Popularne w tej kategorii