What are current_user_can() function parameters ?
This function is used in wordpress script, I know a parameter called publish_posts , I want to know the other parameters .
There is a sample code :
if( current_user_can( 'publish_posts' ) ) {
require_once dirname( __FILE__ ) . '/post-form.php';
}
This should be a complete list:
Roles and Capabilities – Capabilities