Wordpress - WordPress Settings and Configuration
What will the following code output if the current user has the 'edit_posts' capability?
if (current_user_can('edit_posts')) {
echo 'Can edit posts';
} else {
echo 'Cannot edit posts';
}