What is the correct code for “contributor role”?
I want to make a php code for contributors only but don-t know what defines a contributor role.
This is the code i have right now.
<?php
if ( current_user_can('edit_others_pages') {
/// do something
} else {
/// do something else
}
?>