autoship_post_create_scheduled_orders_on_checkout (action)

(src/orders.php) Can be used to perform custom actions after Scheduled Orders are created at checkout. The new action passes the $scheduled_order_ids for any successfully created and the (WooCommerce) $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 );

Included in the Functions

Still need help? Contact Us Contact Us