Allow other roles can sign and upload images

Note: please add this code in functions.php of your current file.

/*
 * WPCargo Roles
 *
 * wpcargo_client
 * wpcargo_pending_client
 * wpcargo_employee
 * cargo_agent
 */
function custom_wpcargo_pod_roles_can_sign($roles){
  $roles[] = 'wpcargo_employee';
  return $roles;
}
add_filter('wpcargo_pod_roles_can_sign', 'custom_wpcargo_pod_roles_can_sign');
0
    0
    Your Cart
    Your cart is emptyReturn to Shop