Enable Employee Access to POS
Available Hooks
“wpcpos_allowed_roles” is a filter hook that will enable you to add user access to POS in the frontend dashboard.
Copy and paste the following code in functions.php of your current theme.
add_filter( 'wpcpos_allowed_roles', 'pos_custom_allowed_roles' ); function pos_custom_allowed_roles(){ return array('administrator', 'wpc_cashier', 'wpcargo_employee' ); }