WordPress at Your Fingertips
action is not described

woocommerce_rest_insert_tax action-hook . WC 1.0

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

Usage

add_action( 'woocommerce_rest_insert_tax', 'action_function_name_237', 10, 3 );
function action_function_name_237( $tax, $request, $creating ){
	// action...
}
$tax(stdClass)
Data used to create the tax.
$request(WP_REST_Request)
Request object.
$creating(true|false)
True when creating tax, false when updating tax.

Where the hook is called

WC_REST_Taxes_V1_Controller::create_item()
woocommerce_rest_insert_tax
WC_REST_Taxes_V1_Controller::update_item()
woocommerce_rest_insert_tax
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php 409
do_action( 'woocommerce_rest_insert_tax', $tax, $request, true );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php 465
do_action( 'woocommerce_rest_insert_tax', $tax, $request, false );

Where in WP core the hook is used WooCommerce

Usage not found.