WooCommerce Legacy REST API icon
eCommerce & WooCommerce

WooCommerce Legacy REST API hooks reference

  • By Automattic
  • v1.0.6
  • Updated

WooCommerce Legacy REST API 1.0.6 has 54 actions and 83 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when WooCommerce Legacy REST API fires an action
add_action( 'woocommerce_api_loaded', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value WooCommerce Legacy REST API is about to use
add_filter( 'woocommerce_api_bulk_limit', function( $value, $arg2 ) {
	// Change $value here.
	return $value;
}, 10, 2 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/legacy/api/class-wc-rest-legacy-coupons-controller.php line 91 · used in 3 places
    /**
     * Filter the data for a response.
     */
    apply_filters( "woocommerce_rest_prepare_{$this->post_type}", $response, $post, $request );
  • includes/legacy/api/class-wc-rest-legacy-coupons-controller.php line 162 · used in 2 places
    /**
     * Filter the query_vars used in `get_items` for the constructed query.
     */
    apply_filters( "woocommerce_rest_pre_insert_{$this->post_type}", $coupon, $request );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 525 · used in 9 places
    apply_filters( 'woocommerce_api_bulk_limit', 100, 'coupons' );
  • includes/legacy/api/v1/class-wc-api-reports.php line 355 · used in 6 places
    apply_filters( 'woocommerce_api_report_response', $sales_data, $this->report, $fields, $this->server );
  • includes/legacy/api/v1/class-wc-api-server.php line 161 · used in 3 places
    apply_filters( 'woocommerce_api_check_authentication', null, $this );
  • includes/legacy/class-wc-legacy-api.php line 160 · used in 3 places
    apply_filters( 'woocommerce_api_classes', array( 'WC_API_Coupons', 'WC_API_Customers', 'WC_API_Orders', 'WC_API_Products', 'WC_API_Reports', 'WC_API_Taxes', 'WC_API_Webhooks', ) );
  • includes/legacy/api/v1/class-wc-api-coupons.php line 137 · used in 3 places
    apply_filters( 'woocommerce_api_coupon_response', $coupon_data, $coupon, $fields, $this->server );
  • includes/legacy/api/v1/class-wc-api-customers.php line 171 · used in 3 places
    apply_filters( 'woocommerce_api_customer_response', $customer_data, $customer, $fields, $this->server );
  • includes/legacy/api/v1/class-wc-api-server.php line 146 · used in 3 places
    apply_filters( 'woocommerce_api_default_response_handler', 'WC_API_JSON_Handler', $this->path, $this );
  • includes/legacy/api/v1/class-wc-api-server.php line 361 · used in 3 places
    apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );
  • includes/legacy/api/v1/class-wc-api-server.php line 211 · used in 3 places
    apply_filters( 'woocommerce_api_enabled', true, $this );
  • includes/legacy/api/v1/class-wc-api-server.php line 277 · used in 3 places
    apply_filters( 'woocommerce_api_endpoints', $endpoints );
  • includes/legacy/api/v1/class-wc-api-server.php line 481 · used in 3 places
    apply_filters( 'woocommerce_api_endpoints_description', $data );
  • includes/legacy/api/v1/class-wc-api-server.php line 483 · used in 3 places
    apply_filters( 'woocommerce_api_index', $available );
  • includes/legacy/api/v1/class-wc-api-json-handler.php line 53 · used in 3 places
    apply_filters( 'woocommerce_api_jsonp_enabled', true );
  • includes/legacy/class-wc-legacy-api.php line 148 · used in 3 places
    do_action( 'woocommerce_api_loaded' );
  • includes/legacy/api/v1/class-wc-api-orders.php line 344 · used in 3 places
    apply_filters( 'woocommerce_api_order_notes_response', $order_notes, $id, $fields, $notes, $this->server );
  • includes/legacy/api/v1/class-wc-api-orders.php line 233 · used in 3 places
    apply_filters( 'woocommerce_api_order_response', $order_data, $order, $fields, $this->server );
  • includes/legacy/api/v1/class-wc-api-server.php line 591 · used in 3 places
    do_action( 'woocommerce_api_pagination_headers', $this, $query );
  • includes/legacy/api/v2/class-wc-api-products.php line 1909 · used in 3 places
    apply_filters( 'woocommerce_api_product_attribute_response', $product_attribute, $id, $fields, $attribute, $this );
  • includes/legacy/api/v1/class-wc-api-products.php line 127 · used in 3 places
    apply_filters( 'woocommerce_api_product_response', $product_data, $product, $fields, $this->server );
  • includes/legacy/api/v1/class-wc-api-products.php line 229 · used in 3 places
    apply_filters( 'woocommerce_api_product_reviews_response', $reviews, $id, $fields, $comments, $this->server );
  • includes/legacy/api/v1/class-wc-api-server.php line 239 · used in 3 places
    apply_filters( 'woocommerce_api_serve_request', false, $result, $this );
  • includes/legacy/api/v1/class-wc-api-server.php line 206 · used in 3 places
    do_action( 'woocommerce_api_server_before_serve', $this );
  • includes/legacy/api/v1/class-wc-api-products.php line 326 · used in 3 places
    apply_filters( 'woocommerce_short_description', $product->get_short_description() );
  • the_content

    filter
    includes/legacy/api/v1/class-wc-api-products.php line 325 · used in 2 places
    apply_filters( 'the_content', $product->get_description() );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 570 · used in 2 places
    apply_filters( 'woocommerce_api_coupons_bulk_response', $coupons, $this );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 299 · used in 2 places
    do_action( 'woocommerce_api_create_coupon', $id, $data );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 222 · used in 2 places
    apply_filters( 'woocommerce_api_create_coupon_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-customers.php line 381 · used in 2 places
    do_action( 'woocommerce_api_create_customer', $customer->get_id(), $data );
  • includes/legacy/api/v2/class-wc-api-customers.php line 359 · used in 2 places
    apply_filters( 'woocommerce_api_create_customer_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 464 · used in 2 places
    do_action( 'woocommerce_api_create_order', $order->get_id(), $data, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 375 · used in 2 places
    apply_filters( 'woocommerce_api_create_order_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1322 · used in 2 places
    do_action( 'woocommerce_api_create_order_note', $note_id, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1303 · used in 2 places
    apply_filters( 'woocommerce_api_create_order_note_data', $data, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1636 · used in 2 places
    do_action( 'woocommerce_api_create_order_refund', $refund->get_id(), $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1595 · used in 2 places
    apply_filters( 'woocommerce_api_create_order_refund_data', $data, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 293 · used in 2 places
    do_action( 'woocommerce_api_create_product', $id, $data );
  • includes/legacy/api/v2/class-wc-api-products.php line 2022 · used in 2 places
    do_action( 'woocommerce_api_create_product_attribute', $id, $data );
  • includes/legacy/api/v2/class-wc-api-products.php line 1977 · used in 2 places
    apply_filters( 'woocommerce_api_create_product_attribute_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 224 · used in 2 places
    apply_filters( 'woocommerce_api_create_product_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 218 · used in 2 places
    do_action( 'woocommerce_api_create_webhook', $webhook->get_id(), $this );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 181 · used in 2 places
    apply_filters( 'woocommerce_api_create_webhook_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-customers.php line 249 · used in 2 places
    apply_filters( 'woocommerce_api_customer_billing_address', array( 'first_name', 'last_name', 'company', 'address_1', 'address_2', 'city', 'state', 'postcode', 'country', 'email', 'phone', ) );
  • includes/legacy/api/v2/class-wc-api-customers.php line 536 · used in 2 places
    apply_filters( 'woocommerce_api_customer_downloads_response', $downloads, $id, $fields, $this->server );
  • includes/legacy/api/v1/class-wc-api-customers.php line 278 · used in 2 places
    apply_filters( 'woocommerce_api_customer_orders_response', $orders, $id, $fields, $order_ids, $this->server );
  • includes/legacy/api/v2/class-wc-api-customers.php line 273 · used in 2 places
    apply_filters( 'woocommerce_api_customer_shipping_address', array( 'first_name', 'last_name', 'company', 'address_1', 'address_2', 'city', 'state', 'postcode', 'country', ) );
  • includes/legacy/api/v2/class-wc-api-customers.php line 832 · used in 2 places
    apply_filters( 'woocommerce_api_customers_bulk_response', $customers, $this );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 460 · used in 2 places
    do_action( 'woocommerce_api_delete_coupon', $id, $this );
  • includes/legacy/api/v2/class-wc-api-customers.php line 461 · used in 2 places
    do_action( 'woocommerce_api_delete_customer', $id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 657 · used in 2 places
    do_action( 'woocommerce_api_delete_order', $id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1448 · used in 2 places
    do_action( 'woocommerce_api_delete_order_note', $note->comment_ID, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1752 · used in 2 places
    do_action( 'woocommerce_api_delete_order_refund', $refund->ID, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 425 · used in 2 places
    do_action( 'woocommerce_api_delete_product', $id, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 2170 · used in 2 places
    do_action( 'woocommerce_api_delete_product_attribute', $id, $this );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 322 · used in 2 places
    do_action( 'woocommerce_api_delete_webhook', $id, $this );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 435 · used in 2 places
    do_action( 'woocommerce_api_edit_coupon', $id, $data );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 335 · used in 2 places
    apply_filters( 'woocommerce_api_edit_coupon_data', $data, $id, $this );
  • includes/legacy/api/v2/class-wc-api-customers.php line 436 · used in 2 places
    do_action( 'woocommerce_api_edit_customer', $customer->get_id(), $data );
  • includes/legacy/api/v2/class-wc-api-customers.php line 417 · used in 2 places
    apply_filters( 'woocommerce_api_edit_customer_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 628 · used in 2 places
    do_action( 'woocommerce_api_edit_order', $order->get_id(), $data, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 517 · used in 2 places
    apply_filters( 'woocommerce_api_edit_order_data', $data, $id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1396 · used in 2 places
    do_action( 'woocommerce_api_edit_order_note', $note->comment_ID, $order->get_id(), $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1377 · used in 2 places
    apply_filters( 'woocommerce_api_edit_order_note_data', $data, $note->comment_ID, $order->get_id(), $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1705 · used in 2 places
    do_action( 'woocommerce_api_edit_order_refund', $refund->ID, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1689 · used in 2 places
    apply_filters( 'woocommerce_api_edit_order_refund_data', $data, $refund->ID, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 392 · used in 2 places
    do_action( 'woocommerce_api_edit_product', $id, $data );
  • includes/legacy/api/v2/class-wc-api-products.php line 2108 · used in 2 places
    do_action( 'woocommerce_api_edit_product_attribute', $id, $data );
  • includes/legacy/api/v2/class-wc-api-products.php line 2062 · used in 2 places
    apply_filters( 'woocommerce_api_edit_product_attribute_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 336 · used in 2 places
    apply_filters( 'woocommerce_api_edit_product_data', $data, $this );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 297 · used in 2 places
    do_action( 'woocommerce_api_edit_webhook', $webhook->get_id(), $this );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 253 · used in 2 places
    apply_filters( 'woocommerce_api_edit_webhook_data', $data, $id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1268 · used in 2 places
    apply_filters( 'woocommerce_api_order_note_response', $order_note, $id, $fields, $note, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1561 · used in 2 places
    apply_filters( 'woocommerce_api_order_refund_response', $order_refund, $id, $fields, $refund, $order_id, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1485 · used in 2 places
    apply_filters( 'woocommerce_api_order_refunds_response', $order_refunds, $order_id, $fields, $refund_items, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 348 · used in 2 places
    apply_filters( 'woocommerce_api_order_statuses_response', $order_statuses, $this );
  • includes/legacy/api/v2/class-wc-api-orders.php line 1823 · used in 2 places
    apply_filters( 'woocommerce_api_orders_bulk_response', $orders, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 1264 · used in 2 places
    do_action( "woocommerce_api_process_product_meta_{$product->get_type()}", $product->get_id(), $data );
  • includes/legacy/api/v2/class-wc-api-products.php line 1858 · used in 2 places
    apply_filters( 'woocommerce_api_product_attributes_response', $product_attributes, $attribute_taxonomies, $fields, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 571 · used in 2 places
    apply_filters( 'woocommerce_api_product_categories_response', $product_categories, $terms, $fields, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 629 · used in 2 places
    apply_filters( 'woocommerce_api_product_category_response', $product_category, $id, $fields, $term, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 544 · used in 2 places
    apply_filters( 'woocommerce_api_product_orders_response', $orders['orders'], $id, $filter, $fields, $this->server );
  • includes/legacy/api/v2/class-wc-api-products.php line 2307 · used in 2 places
    apply_filters( 'woocommerce_api_products_bulk_response', $products, $this );
  • includes/legacy/api/v2/class-wc-api-resource.php line 229 · used in 2 places
    apply_filters( 'woocommerce_api_query_args', $args, $request_args );
  • includes/legacy/api/v2/class-wc-api-products.php line 1451 · used in 2 places
    do_action( 'woocommerce_api_save_product_variation', $variation_id, $menu_order, $variation );
  • includes/legacy/api/v2/class-wc-api-customers.php line 334 · used in 2 places
    do_action( 'woocommerce_api_update_customer_data', $id, $data, $customer );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 452 · used in 2 places
    apply_filters( 'woocommerce_api_webhook_delivery_response', array(), $id, $fields, $log, $webhook_id, $this );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 127 · used in 2 places
    apply_filters( 'woocommerce_api_webhook_response', $webhook_data, $webhook, $fields, $this );
  • includes/legacy/api/v2/class-wc-api-products.php line 2169 · used in 2 places
    do_action( 'woocommerce_attribute_deleted', $id, $attribute_name, $taxonomy );
  • includes/legacy/api/v2/class-wc-api-products.php line 1537 · used in 2 places
    apply_filters( 'woocommerce_file_download_path', $file['file'], $product, $key );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 300 · used in 2 places
    do_action( 'woocommerce_new_coupon', $id );
  • includes/legacy/api/v2/class-wc-api-orders.php line 465 · used in 2 places
    do_action( 'woocommerce_new_order', $order->get_id(), $order );
  • includes/legacy/api/v2/class-wc-api-webhooks.php line 193 · used in 2 places
    apply_filters( 'woocommerce_new_webhook_data', array( 'post_type' => 'shop_webhook', 'post_status' => 'publish', 'ping_status' => 'closed', 'post_author' => get_current_user_id(), 'post_password' => 'webhook_' . wp_generate_password(), 'post_title' => ! empty( $data['name'] ) ? $data['name'] : sprintf( __( 'Webhook created on %s', 'woocommerce-legacy-rest-api' ), (new DateTime('now'))->format( _x( 'M d, Y @ h:i A', 'Webhook created on date ... );
  • includes/legacy/api/v2/class-wc-api-coupons.php line 436 · used in 2 places
    do_action( 'woocommerce_update_coupon', $id );
  • includes/legacy/api/v2/class-wc-api-orders.php line 629 · used in 2 places
    do_action( 'woocommerce_update_order', $order->get_id() );
  • includes/class-wc-api.php line 150
    do_action( "woocommerce_api_{$api_request}" );
  • includes/legacy/api/v3/class-wc-api-resource.php line 475
    apply_filters( 'woocommerce_api_check_permission', $permission, $context, $post, $post_type );
  • includes/legacy/api/v3/class-wc-api-products.php line 2887
    do_action( 'woocommerce_api_create_product_attribute_term', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 2864
    apply_filters( 'woocommerce_api_create_product_attribute_term_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 760
    do_action( 'woocommerce_api_create_product_category', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 725
    apply_filters( 'woocommerce_api_create_product_category_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 3225
    do_action( 'woocommerce_api_create_product_shipping_class', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 3207
    apply_filters( 'woocommerce_api_create_product_shipping_class_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 982
    do_action( 'woocommerce_api_create_product_tag', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 974
    apply_filters( 'woocommerce_api_create_product_tag_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 231
    do_action( 'woocommerce_api_create_tax', $id, $data );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 585
    do_action( 'woocommerce_api_create_tax_class', $tax_class['slug'], $data );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 192
    apply_filters( 'woocommerce_api_create_tax_data', $data['tax'], $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 2992
    do_action( 'woocommerce_api_delete_product_attribute_term', $id, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 864
    do_action( 'woocommerce_api_delete_product_category', $id, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 3303
    do_action( 'woocommerce_api_delete_product_shipping_class', $id, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 1056
    do_action( 'woocommerce_api_delete_product_tag', $id, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 2950
    do_action( 'woocommerce_api_edit_product_attribute_term', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 2930
    apply_filters( 'woocommerce_api_edit_product_attribute_term_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 833
    do_action( 'woocommerce_api_edit_product_category', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 795
    apply_filters( 'woocommerce_api_edit_product_category_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 3272
    do_action( 'woocommerce_api_edit_product_shipping_class', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 3260
    apply_filters( 'woocommerce_api_edit_product_shipping_class_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 1027
    do_action( 'woocommerce_api_edit_product_tag', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 1015
    apply_filters( 'woocommerce_api_edit_product_tag_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 273
    apply_filters( 'woocommerce_api_edit_tax_data', $data, $this );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 320
    do_action( 'woocommerce_api_edit_tax_rate', $id, $data );
  • includes/legacy/api/v3/class-wc-api-products.php line 2774
    apply_filters( 'woocommerce_api_product_attribute_terms_response', $attribute_terms, $terms, $fields, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 1233
    apply_filters( 'woocommerce_api_product_menu_order', $menu_order, $product );
  • includes/legacy/api/v3/class-wc-api-products.php line 3172
    apply_filters( 'woocommerce_api_product_shipping_class_response', $product_shipping_class, $id, $fields, $term, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 3128
    apply_filters( 'woocommerce_api_product_shipping_classes_response', $product_shipping_classes, $terms, $fields, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 942
    apply_filters( 'woocommerce_api_product_tag_response', $tag, $id, $fields, $term, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 896
    apply_filters( 'woocommerce_api_product_tags_response', $product_tags, $terms, $fields, $this );
  • includes/class-wc-api.php line 144
    do_action( 'woocommerce_api_request', $api_request );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 540
    apply_filters( 'woocommerce_api_tax_class_response', array( 'slug' => sanitize_title( $class ), 'name' => $class, ), $class, $fields, $this );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 546
    apply_filters( 'woocommerce_api_tax_classes_response', $tax_classes, $classes, $fields, $this );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 166
    apply_filters( 'woocommerce_api_tax_response', $tax_data, $tax, $fields, $this );
  • includes/legacy/api/v3/class-wc-api-taxes.php line 507
    apply_filters( 'woocommerce_api_taxes_bulk_response', $taxes, $this );
  • includes/legacy/api/v3/class-wc-api-products.php line 2232
    do_action( 'woocommerce_api_uploaded_image_from_url', $upload, $image_url, $upload_for );
  • includes/legacy/api/v1/class-wc-api-xml-handler.php line 108
    apply_filters( 'woocommerce_api_xml_data', $data, $root_element );
  • includes/legacy/api/class-wc-rest-legacy-products-controller.php line 695
    do_action( 'woocommerce_rest_save_product_variation', $variation->get_id(), $menu_order, $data );
  • includes/class-wc-api.php line 201
    apply_filters( 'woocommerce_webhook_order_payload_filters', array() );

Generated from WooCommerce Legacy REST API's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: