wpf_admin_override()

#Overview

This function checks if the current user is an administrator and if administrators are excluded from restrictions.

#Return

(bool) Whether to do an admin override.

#Checks the current user

$can_overrride = wpf_admin_override();

Was this helpful?