Skip to content

Instantly share code, notes, and snippets.

@DevWael
Created July 8, 2019 08:19
Show Gist options
  • Save DevWael/0336d0524c8c1ab1b4bdbd583dac43a1 to your computer and use it in GitHub Desktop.
Save DevWael/0336d0524c8c1ab1b4bdbd583dac43a1 to your computer and use it in GitHub Desktop.
List of woocommerce hooks with description
**Archive Page**
- Before Main Content `woocommerce_before_main_content`
- Before Shop Loop `woocommerce_before_shop_loop`
- Before Shop Loop Item `woocommerce_before_shop_loop_item`
- Before Shop Loop Item Title `woocommerce_before_shop_loop_item_title`
- After Shop Loop Item Title `woocommerce_after_shop_loop_item_title`
- After Shop Loop Item `woocommerce_after_shop_loop_item`
- After Shop Loop `woocommerce_after_shop_loop`
- After Main Content `woocommerce_after_main_content`
**Single Product Page**
- Before Single Product `woocommerce_before_single_product`
- Single Product Summary `woocommerce_single_product_summary`
- Before Add To Cart Form `woocommerce_before_add_to_cart_form`
- After Add To Cart Form `woocommerce_after_add_to_cart_form`
- Share `woocommerce_share`
- After Single Product `woocommerce_after_single_product`
**Cart Page**
- Before Cart `woocommerce_before_cart`
- Before Cart Table `woocommerce_before_cart_table`
- After Cart Table `woocommerce_after_cart_table`
- Before Cart Totals `woocommerce_before_cart_totals`
- Before Shipping Calculator `woocommerce_before_shipping_calculator`
- After Shipping Calculator `woocommerce_after_shipping_calculator`
- Proceed To Checkout `woocommerce_proceed_to_checkout`
- After Cart Totals `woocommerce_after_cart_totals`
- After Cart `woocommerce_after_cart`
- Cart Is Empty `woocommerce_cart_is_empty`
**Cart Widget**
- Before Mini Cart `woocommerce_before_mini_cart`
- Mini Cart Contents `woocommerce_mini_cart_contents`
- Shopping Cart Buttons `woocommerce_widget_shopping_cart_buttons`
- After Mini Cart `woocommerce_after_mini_cart`
**Thank You Page**
- Thank You `woocommerce_thankyou`
**Checkout Page**
- Before Checkout Form `woocommerce_before_checkout_form`
- Before Checkout Billing Form `woocommerce_before_checkout_billing_form`
- After Checkout Registration Form `woocommerce_after_checkout_registration_form`
- After Checkout Billing Form `woocommerce_after_checkout_billing_form`
- Before Checkout Shipping Form `woocommerce_before_checkout_shipping_form`
- After Checkout Shipping Form `woocommerce_after_checkout_shipping_form`
- After Order Notes `woocommerce_after_order_notes`
- Before Order Review `woocommerce_checkout_before_order_review`
- Review Order - Before Payment `woocommerce_review_order_before_payment`
- Review Order - After Payment `woocommerce_review_order_after_payment`
- After Checkout Form `woocommerce_after_checkout_form`
**Login / Register**
- Before Customer Login Form `woocommerce_before_customer_login_form`
- Before Login Form `woocommerce_login_form_start`
- Before Login Submit Button `woocommerce_login_form`
- After Login Form `woocommerce_login_form_end`
- Before Register Form `woocommerce_register_form_start`
- Before Register Submit Button `woocommerce_register_form`
- After Register Form `woocommerce_register_form_end`
- After Customer Login Form `woocommerce_after_customer_login_form`
**My Account**
- Before Account Navigation `woocommerce_before_account_navigation`
- After Account Page Content `woocommerce_account_content`
- Account Dashboard `woocommerce_account_dashboard`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment