How To Allow Custom User Role To Access Parcel Quotation Page

How To Allow Custom User Role To Access Parcel Quotation Page

Paste this code on you active theme’s functions.php

function access_parcel_quote_role() {
    return array( 'wpcargo_client', 'administrator', 'wpcargo_employee'); // add a custom role inside the array
}
add_filter('wpcpq_can_add_quotation', 'access_parcel_quote_role');
0
    0
    Your Cart
    Your cart is emptyReturn to Shop