autoship_create_scheduled_orders_success (action)

(src/orders.php) Can be used to perform custom actions upon the successful creation of Scheduled Order(s). The new action passes the Scheduled Order Ids for the newly created Scheduled Order(s) ($scheduled_order_ids) and the WooCommerce Order Id ($order_id) from which the Scheduled Orders were created as its parameters.

Code

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

Included in these Functions