woocommerce_scheduled_auto_draft_delete action-hookWC 7.7.0

Fires after schedueld deletion of auto-draft orders has been completed.

Usage

add_action( 'woocommerce_scheduled_auto_draft_delete', 'wp_kama_woocommerce_scheduled_auto_draft_delete_action' );

/**
 * Function for `woocommerce_scheduled_auto_draft_delete` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_scheduled_auto_draft_delete_action(){

	// action...
}

Changelog

Since 7.7.0 Introduced.

Where the hook is called

DataSynchronizer::delete_auto_draft_orders()
woocommerce_scheduled_auto_draft_delete
woocommerce/src/Internal/DataStores/Orders/DataSynchronizer.php 1023
do_action( 'woocommerce_scheduled_auto_draft_delete' );

Where the hook is used in WooCommerce

Usage not found.