current_user_can Wordpress function


Description:

Whether current user has capability or role.


Syntax:


Arguments:

(string) $capability Capability or role name.


Return Type:

(bool)


Define At:

wp-includes/capabilities.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/current_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 ×