How to remove restriction of Employee on wp-admin

Copy and paste following codes on your child theme’s functions.php file.

//Redirect to a different login page instead of WPCFE dashboard login
add_action( 'init', 'remove_employee_restriction' );
function remove_employee_restriction(){
	remove_action( 'admin_head', 'wpcfe_restrict_employee_to_wpadmin' );
}
0
    0
    Your Cart
    Your cart is emptyReturn to Shop