Home › Forums › WordPress Plugins › Limiting Shipping Options › Reply To: Limiting Shipping Options
November 22, 2013 at 6:09 am
#2725
vinny
Keymaster
Eric,
I’ve added an ‘apply_filters’ call just before reading the XML response to populate the shipping service dropdown. This means that you can do an ‘add_filter’ call to intercept the XML and modify it as you wish.
Example:
<?php
function intercept_ups_response($xml)
{
// Unset unwanted services...
// Return the modified $xml
return $xml;
}
add_filter('ese_ups_service_filter', 'intercept_ups_response', 10, 1);
?>
As to version 2.3.3, yes, it is the latest UPS plugin version.