WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
событие не описано

woocommerce_rest_insert_(taxonomy) хук-событие . WC 1.0

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

Использование

add_action( 'woocommerce_rest_insert_(taxonomy)', 'action_function_name_6761', 10, 3 );
function action_function_name_6761( $term, $request, $creating ){
	// action...
}
$term(WP_Term)
Inserted Term object.
$request(WP_REST_Request)
Request object.
$creating(true/false)
True when creating term, false when updating.

Где вызывается хук

WC_REST_Terms_Controller::create_item()
woocommerce_rest_insert_(taxonomy)
WC_REST_Terms_Controller::update_item()
woocommerce_rest_insert_(taxonomy)
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php 431
do_action( "woocommerce_rest_insert_{$taxonomy}", $term, $request, true );
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php 520
do_action( "woocommerce_rest_insert_{$taxonomy}", $term, $request, false );

Где используется хук в ядре WooCommerce

woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php 51
add_action( "woocommerce_rest_insert_{$this->post_type}", array( $this, 'clear_transients' ) );
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php 53
add_action( "woocommerce_rest_insert_{$this->post_type}_object", array( $this, 'clear_transients' ) );