granted_super_admin

granted_super_admin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('granted_super_admin') is found 1 times:

  • /wp-includes/capabilities.php line 1220
    1216
    1217
    1218
    1219
    1220
    1221
    1222
    1223
    1224
    1225
    1226
             * @since 3.0.0
             *
             * @param int $user_id ID of the user that was granted Super Admin privileges.
             */
            do_action( 'granted_super_admin', $user_id );
            return true;
        }
        return false;
    }
     
    /**