wc_autoship_db_insert (action)

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

Example

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

}
add_action( 'wc_autoship_db_insert', 'wc_autoship_db_insert_example', 10, 3 );


Still need help? Contact Us Contact Us