WP HOOKS
akcjaod 4.4.0

edit_user_created_user

Args 2Plik wp-admin/includes/user.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after a new user has been created.

Parametry

ParametrTypOpis
$user_idint | \WP_ErrorID of the newly created user or WP_Error on failure.
$notifystringType of notification that should happen. See wp_send_new_user_notifications() for more information.

Wywołanie

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

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

Popularne w tej kategorii