Forked from niloyBrightVessel/change_order_status_on_preorder_date.php
Created
July 12, 2022 00:13
-
-
Save Niloys7/58568dd7e46034de2d9160b5d03f145c to your computer and use it in GitHub Desktop.
Change Preorder status after preoder date arrived
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
add_filter('change_order_status_on_preorder_date','bp_change_order_status',20,1); | |
function bp_change_order_status($status){ | |
return 'processing'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment