akcjaod 2.7.0
clear_auth_cookie
Opis — z kodu źródłowego
Fires just before the authentication cookies are cleared.
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'clear_auth_cookie', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'clear_auth_cookie', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii