Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Niloys7/58568dd7e46034de2d9160b5d03f145c to your computer and use it in GitHub Desktop.
Save Niloys7/58568dd7e46034de2d9160b5d03f145c 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