akcjaod 4.0.0
delete_user_form
Opis — z kodu źródłowego
Fires at the end of the delete users form prior to the confirm button.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$current_user | \WP_User | WP_User object for the current user. |
$user_ids | int[] | Array of IDs for users being deleted. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'delete_user_form', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'delete_user_form', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii