autoship_post_create_scheduled_orders_on_checkout (action)

(src/orders.php) Within the autoship_create_scheduled_orders_on_checkout() function and can be used to perform custom actions after Scheduled Orders are created at checkout. The new action passes the Scheduled Order Id(s) for any successfully created Scheduled Order(s) ($scheduled_order_ids) and the WooCommerce Order Id ($order_id) from which the Scheduled Order(s) originated as its parameters.

Code

do_action( 'autoship_post_create_scheduled_orders_on_checkout', $scheduled_order_ids, $order_id );

Still need help? Contact Us Contact Us