user_can Wordpress function


Description:

Whether a particular user has capability or role.


Syntax:


Arguments:

(int|object) $user User ID or object.
(string) $capability Capability or role name.


Return Type:

(bool)


Define At:

wp-includes/capabilities.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/user_can


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×