Action hook 'grant_super_admin'

in WP Core File wp-includes/capabilities.php at line 1122

Description

Fires before the user is granted Super Admin privileges.

Occurrences

Filename Line Number
wp-includes/capabilities.php 1122

Parameters

Type Name Description
int $user_id ID of the user that is about to be granted Super Admin privileges.

PHP Doc

/**
	 * Fires before the user is granted Super Admin privileges.
	 *
	 * @since 3.0.0
	 *
	 * @param int $user_id ID of the user that is about to be granted Super Admin privileges.
	 */