Skip to content

Instantly share code, notes, and snippets.

@jonathan-dejong
Created June 21, 2016 12:27
Show Gist options
  • Save jonathan-dejong/f0461ecf674c2036b25f8ed5c24e74fd to your computer and use it in GitHub Desktop.
Save jonathan-dejong/f0461ecf674c2036b25f8ed5c24e74fd to your computer and use it in GitHub Desktop.
Changes to pickup plus to include user in order note
// make a note of the change
$order->add_order_note(
sprintf( __( 'Pickup location changed to %s', 'woocommerce-shipping-local-pickup-plus' ),
$this->get_formatted_address_helper( $pickup_location, true )
), false, true
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment