Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'woocommerce_cod_process_payment_order_status', 'change_cod_payment_order_status', 10, 1 );
- function change_cod_payment_order_status( $order_status, $order ) {
- return 'on-hold';
- }
Add Comment
Please, Sign In to add comment