autoship_create_schedule_order_failed (action)

src/scheduled-orders.php) Can be used to customize when no Scheduled Order is created due to an error when customers use links from the Autoship Link builder. It takes in built $link and $customer_id as its parameters.

Code

do_action( 'autoship_create_scheduled_order_failed', $link, $customer_id );

Used in the Functions

Still need help? Contact Us Contact Us