do_action( 'grant_super_admin', int $user_id )

Fires before the user is granted Super Admin privileges.


Parameters

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

Top ↑

Source

File: wp-includes/capabilities.php. View all references

do_action( 'grant_super_admin', $user_id );


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.