The documentation for WooCommerce Blocks has moved to the WooCommerce monorepo.
Please refer to the documentation in the new location as the files in this repository will no longer be updated and the repository will be archived.
Below are the hooks that exist in WooCommerce core and that were brough over to WooCommerce Blocks.
Please note that the actions and filters here run on the server side. The client-side blocks won't necessarily change based on a callback added to a server side hook. Please see our documentation relating to APIs for manipulating the blocks on the client-side.
- loop_shop_per_page
- wc_session_expiration
- woocommerce_add_cart_item
- woocommerce_add_cart_item_data
- woocommerce_add_to_cart_quantity
- woocommerce_add_to_cart_sold_individually_quantity
- woocommerce_add_to_cart_validation
- woocommerce_adjust_non_base_location_prices
- woocommerce_apply_base_tax_for_local_pickup
- woocommerce_apply_individual_use_coupon
- woocommerce_apply_with_individual_use_coupon
- woocommerce_cart_contents_changed
- woocommerce_cart_item_permalink
- woocommerce_get_item_data
- woocommerce_loop_add_to_cart_args
- woocommerce_loop_add_to_cart_link
- woocommerce_new_customer_data
- woocommerce_pay_order_product_has_enough_stock
- woocommerce_pay_order_product_in_stock
- woocommerce_registration_errors
- woocommerce_shipping_package_name
- woocommerce_show_page_title
- woocommerce_single_product_image_thumbnail_html
- woocommerce_add_to_cart
- woocommerce_after_main_content
- woocommerce_after_shop_loop
- woocommerce_applied_coupon
- woocommerce_archive_description
- woocommerce_before_main_content
- woocommerce_before_shop_loop
- woocommerce_check_cart_items
- woocommerce_created_customer
- woocommerce_no_products_found
- woocommerce_register_post
- woocommerce_shop_loop