do_action( 'woocommerce_rest_insert_tax_class', stdClass $tax_class, WP_REST_Request $request, boolean $creating )

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


Description Description


Parameters Parameters

$tax_class

Data used to create the tax class.

$request

Request object.

$creating

True when creating tax class, false when updating tax class.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.