Instantly share code, notes, and snippets.

Embed
What would you like to do?
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