Skip to content

Instantly share code, notes, and snippets.

@mikkamp
Last active May 18, 2017 13:23
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 mikkamp/0bb43479de4fab9d4fcd88c15ecba52e to your computer and use it in GitHub Desktop.
Save mikkamp/0bb43479de4fab9d4fcd88c15ecba52e to your computer and use it in GitHub Desktop.
Example Shipment Tracking helper function
if ( function_exists( 'wc_st_add_tracking_number' ) ) {
wc_st_add_tracking_number( $order_id, $tracking_number, $provider, $date_shipped, $custom_url );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment