Created
November 3, 2017 05:13
-
-
Save eder-dias/2ce0266a34977371c825d597a171cc50 to your computer and use it in GitHub Desktop.
Editar pedido independente do 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
// WooCommerce: Allow editing of all orders regardless of status | |
add_filter ( 'wc_order_is_editable', 'majemedia_add_order_statuses_to_editable' ); | |
function majemedia_add_order_statuses_to_editable () { | |
return TRUE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment