woocommerce_tax_rate_deleted
Usage
add_action( 'woocommerce_tax_rate_deleted', 'wp_kama_woocommerce_tax_rate_deleted_action' ); /** * Function for `woocommerce_tax_rate_deleted` action-hook. * * @param $tax_rate_id * * @return void */ function wp_kama_woocommerce_tax_rate_deleted_action( $tax_rate_id ){ // action... }
- $tax_rate_id
- -
Where the hook is called
woocommerce_tax_rate_deleted
woocommerce/includes/class-wc-tax.php 1129
do_action( 'woocommerce_tax_rate_deleted', $tax_rate_id );