Template Hooks
Actions
HOOK | FILE(S) |
---|---|
get_product_search_form | woocommerce-template.php |
woocommerce_.$product->product_type._add_to_cart | woocommerce-template.php |
woocommerce_after_main_content | archive-product.php, single-product.php |
woocommerce_after_shop_loop | archive-product.php, loop-shop.php, woocommerce-template.php |
woocommerce_after_shop_loop_item | content-product.php |
woocommerce_after_shop_loop_item_title | content-product.php |
woocommerce_after_single_product | content-single-product.php |
woocommerce_after_single_product_summary | content-single-product.php |
woocommerce_after_subcategory | content-product_cat.php |
woocommerce_after_subcategory_title | content-product_cat.php |
woocommerce_archive_description | archive-product.php, woocommerce-template.php |
woocommerce_before_main_content | archive-product.php, single-product.php |
woocommerce_before_shop_loop | archive-product.php, loop-shop.php, woocommerce-template.php |
woocommerce_before_shop_loop_item | content-product.php |
woocommerce_before_shop_loop_item_title | content-product.php |
woocommerce_before_single_product | content-single-product.php |
woocommerce_before_single_product_summary | content-single-product.php |
woocommerce_before_subcategory | content-product_cat.php |
woocommerce_before_subcategory_title | content-product_cat.php |
woocommerce_product_thumbnails | product-image.php |
woocommerce_sidebar | archive-product.php, single-product.php |
woocommerce_single_product_summary | content-single-product.php |
Filters
HOOK | FILE(S) |
---|---|
default_checkout_country | woocommerce-template.php, woocommerce-template.php, woocommerce-template.php |
get_product_search_form | woocommerce-template.php, woocommerce-template.php |
loop_shop_columns | content-product.php, content-product_cat.php |
single_product_small_thumbnail_size | product-thumbnails.php, woocommerce-template.php |
the_content | order-details.php, email-order-items.php, woocommerce-template.php |
the_title | woocommerce-template.php |
woocommerce_attribute | product-attributes.php, product-attributes.php |
woocommerce_default_catalog_orderby | woocommerce-template.php |
woocommerce_demo_store | woocommerce-template.php |
woocommerce_form_field_.$args[type] | woocommerce-template.php |
woocommerce_page_title | woocommerce-template.php |
woocommerce_product_review_comment_form_args | single-product-reviews.php |
woocommerce_product_subcategories_args | woocommerce-template.php |
woocommerce_product_thumbnails_columns | product-thumbnails.php |
woocommerce_quantity_input_args | woocommerce-template.php |
woocommerce_subcategory_count_html | content-product_cat.php |
Widget Hooks
Filters
HOOK | FILE(S) |
---|---|
widget_title | class-wc-widget-best-sellers.php, class-wc-widget-cart.php, class-wc-widget-featured-products.php, class-wc-widget-layered-nav-filters.php, class-wc-widget-layered-nav.php, class-wc-widget-login.php, class-wc-widget-login.php, class-wc-widget-onsale.php, class-wc-widget-price-filter.php, class-wc-widget-product-categories.php, class-wc-widget-product-search.php, class-wc-widget-product-tag-cloud.php, class-wc-widget-random-products.php, class-wc-widget-recent-products.php, class-wc-widget-recent-reviews.php, class-wc-widget-recently-viewed.php, class-wc-widget-top-rated-products.php |
woocommerce_product_categories_widget_args | class-wc-widget-product-categories.php |
woocommerce_product_tag_cloud_widget_args | class-wc-widget-product-tag-cloud.php |
Class Hooks
Actions
HOOK | FILE(S) |
---|---|
woocommerce_product_set_stock_status | abstract-wc-product.php |
Filters
HOOK | FILE(S) |
---|---|
list_product_cats | class-product-cat-dropdown-walker.php |
single_product_large_thumbnail_size | class-wc-product-variable.php |
widget_title | class-wc-widget-best-sellers.php, class-wc-widget-cart.php, class-wc-widget-featured-products.php, class-wc-widget-layered-nav-filters.php, class-wc-widget-layered-nav.php, class-wc-widget-login.php, class-wc-widget-login.php, class-wc-widget-onsale.php, class-wc-widget-price-filter.php, class-wc-widget-product-categories.php, class-wc-widget-product-search.php, class-wc-widget-product-tag-cloud.php, class-wc-widget-random-products.php, class-wc-widget-recent-products.php, class-wc-widget-recent-reviews.php, class-wc-widget-recently-viewed.php, class-wc-widget-top-rated-products.php |
woocommerce_add_to_cart_url | abstract-wc-product.php |
woocommerce_empty_price_html | abstract-wc-product.php |
woocommerce_file_download_path | class-wc-product-variation.php, abstract-wc-product.php |
woocommerce_file_download_paths | class-wc-product-variation.php, abstract-wc-product.php |
woocommerce_free_price_html | abstract-wc-product.php |
woocommerce_free_sale_price_html | abstract-wc-product.php |
woocommerce_get_availability | abstract-wc-product.php |
woocommerce_get_price | abstract-wc-product.php |
woocommerce_get_price_excluding_tax | abstract-wc-product.php |
woocommerce_get_price_html | class-wc-product-grouped.php, class-wc-product-variable.php, abstract-wc-product.php |
woocommerce_get_price_including_tax | abstract-wc-product.php |
woocommerce_grouped_price_html | class-wc-product-grouped.php |
woocommerce_is_purchasable | class-wc-product-external.php, class-wc-product-grouped.php, abstract-wc-product.php |
woocommerce_is_sold_individually | abstract-wc-product.php |
woocommerce_price_html | abstract-wc-product.php |
woocommerce_product_categories_widget_args | class-wc-widget-product-categories.php |
woocommerce_product_class | class-wc-product-factory.php |
woocommerce_product_default_attributes | class-wc-product-variable.php |
woocommerce_product_is_visible | class-wc-product-variation.php, abstract-wc-product.php |
woocommerce_product_parent | abstract-wc-product.php |
woocommerce_product_tag_cloud_widget_args | class-wc-widget-product-tag-cloud.php |
woocommerce_product_tax_class | abstract-wc-product.php |
woocommerce_product_title | class-wc-product-simple.php, abstract-wc-product.php |
woocommerce_sale_price_html | abstract-wc-product.php |
woocommerce_stock_amount | class-wc-checkout.php, class-wc-product-grouped.php, class-wc-product-variable.php, class-wc-product-variable.php, class-wc-product-variable.php, class-wc-product-variable.php, class-wc-product-variation.php, class-wc-product-variation.php, class-wc-product-variation.php, abstract-wc-product.php |
woocommerce_stock_html | class-wc-product-variable.php |
woocommerce_variable_empty_price_html | class-wc-product-variable.php |
woocommerce_variable_free_price_html | class-wc-product-variable.php |
woocommerce_variable_free_sale_price_html | class-wc-product-variable.php |
woocommerce_variable_price_html | class-wc-product-variable.php |
woocommerce_variable_sale_price_html | class-wc-product-variable.php |
woocommerce_variation_empty_price_html | class-wc-product-variation.php |
woocommerce_variation_free_price_html | class-wc-product-variation.php |
woocommerce_variation_price_html | class-wc-product-variation.php |
woocommerce_variation_sale_price_html | class-wc-product-variation.php |
Admin Hooks
Actions
HOOK | FILE(S) |
---|---|
media_upload_file | woocommerce-admin-functions.php |
woocommerce_admin_attribute_types | woocommerce-admin-attributes.php, woocommerce-admin-attributes.php |
woocommerce_admin_css | woocommerce-admin-init.php |
woocommerce_admin_field_.$value[type] | woocommerce-admin-settings.php |
woocommerce_duplicate_product | duplicate_product.php |
woocommerce_reports_tabs | woocommerce-admin-reports.php |
woocommerce_right_now_orders_table_end | woocommerce-admin-dashboard.php |
woocommerce_right_now_shop_content_table_end | woocommerce-admin-dashboard.php |
woocommerce_settings_.sanitize_title$value[id] | woocommerce-admin-settings.php |
woocommerce_settings_.sanitize_title$value[id]._after | woocommerce-admin-settings.php |
woocommerce_settings_.sanitize_title$value[id]._end | woocommerce-admin-settings.php |
woocommerce_settings_saved | woocommerce-admin-settings.php |
woocommerce_settings_start | woocommerce-admin-settings.php |
woocommerce_settings_tabs | woocommerce-admin-settings.php |
woocommerce_settings_tabs_.$current_tab | woocommerce-admin-settings.php |
woocommerce_update_options | woocommerce-admin-settings.php |
woocommerce_update_options_.$current_tab | woocommerce-admin-settings.php |
woocommerce_update_options_.$current_tab._.$current_section | woocommerce-admin-settings.php, woocommerce-admin-settings.php |
woocommerce_update_options_.$current_tab._.$current_section_class->id | woocommerce-admin-settings.php, woocommerce-admin-settings.php |
Filters
HOOK | FILE(S) |
---|---|
post_row_actions | product.php, shop_coupon.php |
the_excerpt | product.php |
woocommerce_debug_posting | woocommerce-admin-status.php |
woocommerce_reports_order_statuses | woocommerce-admin-reports.php, woocommerce-admin-reports.php, woocommerce-admin-reports.php, woocommerce-admin-reports.php, woocommerce-admin-reports.php, woocommerce-admin-reports.php |
woocommerce_reports_stock_overview_products | woocommerce-admin-reports.php |
woocommerce_screen_ids | woocommerce-admin-init.php |
woocommerce_settings_tabs_array | woocommerce-admin-settings.php |