author_can Wordpress function


Description:

Whether author of supplied post has capability or role.


Syntax:


Arguments:

(int|object) $post Post ID or post 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/author_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 ×