WordPress at Your Fingertips
action is not described

woocommerce_rest_insert_tax_class action-hook . WC 1.0

Fires after a tax class is created or updated via the REST API.


add_action( 'woocommerce_rest_insert_tax_class', 'action_function_name_7709', 10, 3 );
function action_function_name_7709( $tax_class, $request, $creating ){
	// action...
Data used to create the tax class.
Request object.
True when creating tax class, false when updating tax class.

Where the hook is called

woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php 188
do_action( 'woocommerce_rest_insert_tax_class', (object) $tax_class, $request, true );

Where in WP core the hook is used WooCommerce

Usage not found.