woocommerce_tax_rate_added

woocommerce_tax_rate_added

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_tax_rate_added') is found 1 times:

  • /includes/class-wc-tax.php line 1053
    1049
    1050
    1051
    1052
    1053
    1054
    1055
    1056
    1057
    1058
    1059
        $tax_rate_id = $wpdb->insert_id;
     
        WC_Cache_Helper::invalidate_cache_group( 'taxes' );
     
        do_action( 'woocommerce_tax_rate_added', $tax_rate_id, $tax_rate );
     
        return $tax_rate_id;
    }
     
    /**
     * Get tax rate.

See this hook used in plugins: