wc_autoship_db_delete (action)

Fires when an Autoship Model extending the class WC_Autoship_Models_DbEntity are deleted.

Example

<?php
/**
* @param string $table_name
* @param int|false $result
* @param int $entity_id
*/
function wc_autoship_db_delete_example( $table_name, $result, $entity_id ) {

}
add_action( 'wc_autoship_db_delete', 'wc_autoship_db_delete_example', 10, 3 );

Still need help? Contact Us Contact Us