wphooks.info - revoked_super_admin

revoked_super_admin

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/capabilities.php:
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
			unset( $super_admins[$key] );
			update_site_option( 'site_admins', $super_admins );

			/**
			 * Fires after the user's Super Admin privileges are revoked.
			 *
			 * @since 3.0.0
			 *
			 * @param int $user_id ID of the user Super Admin privileges were revoked from.
			 */
			do_action( 'revoked_super_admin', $user_id );
			return true;
		}
	}
	return false;
}

/**
 * Filters the user capabilities to grant the 'install_languages' capability as necessary.
 *