Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save niloyBrightVessel/db0f37d90e3a7f99e920450b5e1ce9b0 to your computer and use it in GitHub Desktop.
Save niloyBrightVessel/db0f37d90e3a7f99e920450b5e1ce9b0 to your computer and use it in GitHub Desktop.
Change Preorder status after preoder date arrived
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