What are current_user_can () function parameters?

admin

Administrator
Staff member
What are
Code:
current_user_can()
function parameters ?

This function is used in wordpress script, I know a parameter called
Code:
publish_posts
, I want to know the other parameters .

There is a sample code :

Code:
if( current_user_can( 'publish_posts' ) ) {
    require_once dirname( __FILE__ ) . '/post-form.php';
}