I have the following a function in my functions.php:
function admin_style()
{ global $user_ID;
if ( current_user_can( 'shop_manager') )
{ wp_enqueue_style('admin-styles', '/wp-content/themes/electa-child/admin.css');
}}
add_action('admin_enqueue_scripts', 'admin_style');
I would like to add another user role but when I do if ( current_user_can( 'shop_manager', 'shop_assistant') )
I am getting an error.
How should I add another user role to be checked upon?
Thanks in advance,