woocommerce_rest_delete_tax

woocommerce_rest_delete_tax

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_rest_delete_tax') is found 2 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php line 240
    		 * @param stdClass         $tax_class The tax data.
    		 * @param WP_REST_Response $response  The response returned from the API.
    		 * @param WP_REST_Request  $request   The request sent to the API.
    		 */
    		do_action( 'woocommerce_rest_delete_tax', (object) $tax_class, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepare a single tax class output for response.
    
  • /includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php line 520
    		 * @param stdClass         $tax      The tax data.
    		 * @param WP_REST_Response $response The response returned from the API.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 */
    		do_action( 'woocommerce_rest_delete_tax', $tax, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepare a single tax output for response.