wc_autoship_payment_complete (action)
Fires on completion of payment for an Autoship Order.
Example
<?php /** * @param int $product_id * @param int $schedule_id */ function wc_autoship_payment_complete_example( $product_id, $schedule_id ) { } add_action( 'wc_autoship_payment_complete', 'wc_autoship_payment_complete_example', 10, 2 );