Last active
May 4, 2018 17:14
-
-
Save alexmustin/bc1259c16337973e32ac7594ce61221d to your computer and use it in GitHub Desktop.
WooCommerce - allow editing of Orders regardless of Status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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