wc_autoship_db_update (action)

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

Example

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

}
add_action( 'wc_autoship_db_update', 'wc_autoship_db_update_example', 10, 3 );

Still need help? Contact Us Contact Us