Skip to content

Instantly share code, notes, and snippets.

@woogist
Created November 18, 2014 13:33
Show Gist options
  • Save woogist/18b6e11115058b9a8fda to your computer and use it in GitHub Desktop.
Save woogist/18b6e11115058b9a8fda to your computer and use it in GitHub Desktop.
Shipwire: export completed orders
function wcs_shipwire_valid_order_statuses_for_export( $statuses ) {
$statuses[] = 'completed';
return $statuses;
}
add_filter( 'wc_shipwire_valid_order_statuses_for_export', 'wcs_shipwire_valid_order_statuses_for_export' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment