Skip to content

Instantly share code, notes, and snippets.

@WooForce
Last active March 31, 2016 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WooForce/e2229b51703f7c931cd1 to your computer and use it in GitHub Desktop.
Save WooForce/e2229b51703f7c931cd1 to your computer and use it in GitHub Desktop.
WooForce FedEx Plugin - Change recipient's phone number on Label
add_filter('wf_fedex_request','my_call_back', 10, 2 );
function my_call_back($request,$order){
$request['RequestedShipment']['Recipient']['Contact']['PhoneNumber']='123-123-1234';
return $request;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment