Skip to content

Instantly share code, notes, and snippets.

@kbxian
Last active April 7, 2017 23:34
Show Gist options
  • Save kbxian/f7282776adba8f006c9ee148ea45e6b6 to your computer and use it in GitHub Desktop.
Save kbxian/f7282776adba8f006c9ee148ea45e6b6 to your computer and use it in GitHub Desktop.
add_action('woocommerce_order_status_completed', 'custom_process_order', 10, 1);
function custom_process_order($order_id) {
return $order_id;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment