WordPress subscriber have only the read capability. So you have to pass to add_role
only the read
parameter, like:
$client_role = add_role('client', 'Client',
array (
'read' => TRUE // true allows this capability
));
WordPress subscriber have only the read capability. So you have to pass to add_role
only the read
parameter, like:
$client_role = add_role('client', 'Client',
array (
'read' => TRUE // true allows this capability
));