AllaerdUserRoles

Created by PhpStorm.

Defined (1)

The class is defined in the following location(s).

/src/Allaerd/UserRoles.php  
  1. class UserRoles 
  2. public static function getUserRoles() 
  3. $user = wp_get_current_user(); 
  4.  
  5. return $user->roles; 
  6.