WP HOOKS
akcjaod 3.0.0

grant_super_admin

Args 1Plik wp-includes/capabilities.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires before the user is granted Super Admin privileges.

Parametry

ParametrTypOpis
$user_idintID of the user that is about to be granted Super Admin privileges.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'grant_super_admin', 'twoja_funkcja' );

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

Popularne w tej kategorii