woocommerce_scheduled_auto_draft_delete
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
woocommerce_scheduled_auto_draft_delete
woocommerce/src/Internal/DataStores/Orders/DataSynchronizer.php 1023
do_action( 'woocommerce_scheduled_auto_draft_delete' );