Skip to content

Instantly share code, notes, and snippets.

@alexmustin
Last active May 4, 2018 17:14
Show Gist options
  • Save alexmustin/bc1259c16337973e32ac7594ce61221d to your computer and use it in GitHub Desktop.
Save alexmustin/bc1259c16337973e32ac7594ce61221d to your computer and use it in GitHub Desktop.
WooCommerce - allow editing of Orders regardless of Status
<?php
// WooCommerce -- allow editing of Orders regardless of Status
add_filter ( 'wc_order_is_editable', 'force_order_statuses_to_editable' );
function force_order_statuses_to_editable () {
return TRUE;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment