WC Contour 1.0.2 has 18 actions and 65 filters, read directly from its source code on Nov 19, 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.
// Run your own code when WC Contour fires an action
add_action( 'wccon_after_load_front_styles', function( $shortcodes_pages ) {
// Your code runs here.
}, 10, 1 );
// Change a value WC Contour is about to use
add_filter( 'woocommerce_variation_option_name', function( $name, $term, $attribute, $product ) {
// Change $name here.
return $name;
}, 10, 4 );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
-
/** * Add pages to load styles for. */ do_action( 'wccon_after_load_front_styles', $shortcodes_pages ); -
apply_filters( 'woocommerce_variation_option_name', $term->name, $term, $attribute, $product ); -
apply_filters( 'wccon_widget_max_visible_options', 6, $instance ); -
apply_filters( 'wccon_component_classes', $component_classes, $component ); -
apply_filters( 'wccon_product_image_size', $settings['style']['image_size'] ); -
apply_filters( 'wccon_product_price_html', $product->get_price_html(), $product ); -
apply_filters( 'wccon_attribute_color_type_term', 'product_attribute_color' ); -
apply_filters( 'wccon_dropdown_variation_attribute_options_args', $args ); -
apply_filters( 'widget_title', $this->get_instance_title( $instance ), $instance, $this->id_base ); -
do_action( 'wccon_builder_product_item_meta', $product ); -
apply_filters( 'wccon_cart_item_data', array(), $product ); -
apply_filters( 'wccon_desc_show_toggle', 100 ); -
apply_filters( 'wccon_lists_per_page', absint( $wccon_settings['list_limit'] ), $ajax ); -
apply_filters( 'wccon_load_list_args', array( 'clone' => $product_data['clone'], 'component' => $product_data['component'], 'price' => $product->get_price(), 'display_price' => apply_filters( 'wccon_product_price_html', $product->get_price_html(), $product ), 'product_id' => $product_data['product_id'], 'quantity' => $product_data['quantity'], 'variation' => $product_data['variation'], 'variation_id' => $product_data['variation_id']... ); -
apply_filters( 'wccon_load_more_button_text', esc_html__( 'Load more', 'wccontour' ) ); -
apply_filters( 'wccon_no_lists_found_text', esc_html__( 'No list saved yet', 'wccontour' ) ); -
apply_filters( 'wccon_product_list_description', wp_kses_post( $product->get_short_description() ), $product ); -
apply_filters( 'wccon_saved_list_date', $formatted_date, $date_list ); -
apply_filters( 'wccon_sold_individually_enabled', true ); -
apply_filters( 'woocommerce_add_to_cart_fragments', array( 'div.widget_shopping_cart_content' => '<div class="widget_shopping_cart_content">' . $mini_cart . '</div>', ) ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product['product_id'], $product['quantity'] ); -
woocommerce_get_filtered_term_product_counts_query
filter Used by 12 plugins → Copy link Customise this hookapply_filters( 'woocommerce_get_filtered_term_product_counts_query', $query ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'wccon_account_endpoint_title', __( 'Saved lists', 'wccontour' ) ); -
do_action( 'wccon_after_buy_products', $data, $products ); -
do_action( 'wccon_after_product_query', $query_args ); -
do_action( 'wccon_before_product_query', $query_args ); -
do_action( 'wccon_builder_product_item_attributes', $product, $attributes, $term_ids ); -
do_action( 'wccon_builder_topbar_actions', $data, $id, $cp, $type ); -
do_action( 'wccon_builder_topbar_items', $data, $id, $cp, $type ); -
do_action( 'wccon_builder_topbar_row', $data, $id, $cp, $type ); -
apply_filters( 'wccon_buy_products_response_args', $return_data ); -
do_action( 'wccon_component_product_meta', $product_object ); -
apply_filters( 'wccon_edit_account_link', $link, $list_id ); -
apply_filters( 'wccon_edit_users_list_link', $link, $list_id, $page_id ); -
apply_filters( 'wccon_extra_components_data', $components, $id, $type ); -
do_action( 'wccon_filter_widgets_end', $component ); -
do_action( 'wccon_filter_widgets_start', $component ); -
apply_filters( 'wccon_filters_button_text', esc_html__( 'Filters', 'wccontour' ) ); -
do_action( 'wccon_fs_loaded' ); -
apply_filters( 'wccon_get_filtered_term_product_counts_query', $query ); -
apply_filters( 'wccon_is_component_extra', $component_is_extra, $component, $id ); -
apply_filters( 'wccon_load_wrong_shortcode_message', __( 'Wrong ID', 'wccontour' ) ); -
apply_filters( 'wccon_max_height_description', '43px' ); -
apply_filters( 'wccon_max_list_reached_message', __( 'You have reached max allowed lists', 'wccontour' ) ); -
apply_filters( 'wccon_no_products_text', __( 'Nothing found', 'wccontour' ) ); -
apply_filters( 'wccon_pagination_args', array( 'total' => $total_pages, 'current' => $current_page, 'aria_current' => 'page', 'prev_next' => true, 'prev_text' => __( '« Previous', 'wccontour' ), 'next_text' => __( 'Next »', 'wccontour' ), 'end_size' => 1, 'mid_size' => 2, ) ); -
apply_filters( 'wccon_postmeta_form_limit', 190 ); -
apply_filters( 'wccon_price_filter_sql', $sql ); -
apply_filters( 'wccon_product_info_args', array( 'sold_individually' => $product->is_sold_individually(), ), $product ); -
apply_filters( 'wccon_product_list_available', array( 'all' => __( 'All', 'wccontour' ), 'instock' => __( 'In stock', 'wccontour' ), ) ); -
apply_filters( 'wccon_product_list_meta', $wcc_product->get_product_list_meta() ); -
apply_filters( 'wccon_product_list_orderby', array( 'menu_order' => __( 'Default sorting', 'wccontour' ), 'popularity' => __( 'Sort by popularity', 'wccontour' ), 'rating' => __( 'Sort by average rating', 'wccontour' ), 'date' => __( 'Sort by latest', 'wccontour' ), 'price' => __( 'Sort by price: low to high', 'wccontour' ), 'price-desc' => __( 'Sort by price: high to low', 'wccontour' ), ) ); -
do_action( 'wccon_product_list_topbar' ); -
do_action( 'wccon_product_list_topbar_after' ); -
do_action( 'wccon_product_list_topbar_before' ); -
apply_filters( 'wccon_product_query_args', $query_args ); -
apply_filters( 'wccon_product_query_vars', $query_args ); -
apply_filters( 'wccon_product_top_extra_title', esc_html__( 'Extra', 'wccontour' ), $data ); -
apply_filters( 'wccon_product_top_required_title', __( 'Required', 'wccontour' ), $data ); -
apply_filters( 'wccon_products_per_page', $products_per_page ); -
do_action( 'wccon_render_custom_type_variation_attr', $attribute, $product, $attributes, $term_ids ); -
apply_filters( 'wccon_required_components_data', $components, $id, $type ); -
apply_filters( 'wccon_saved_lists_data', $data_for_db, $shortcode_id, $saved_list_id ); -
do_action( 'wccon_sidebar_products_start', $component ); -
apply_filters( 'wccon_socials_links', $socials_links, $list_id ); -
apply_filters( 'wccon_taxonomy_term_args', $term_args, $taxonomy, $lang ); -
apply_filters( 'wccon_use_button_variations', true, $attribute ); -
apply_filters( 'wccon_use_color_variations', true, $attribute ); -
apply_filters( 'wccon_use_default_variations', 'wccon_variation_button_type' ); -
apply_filters( 'wccon_use_raw_select_variations', false, $attribute ); -
apply_filters( 'wccon_user_collection_title', esc_html__( 'My collections', 'wccontour' ) ); -
apply_filters( 'wccon_users_collection_title', esc_html__( 'Users\'s collections', 'wccontour' ) ); -
apply_filters( 'wccon_valid_component_locations', array( 'product_tax', 'product_attribute', 'product_meta', ) ); -
apply_filters( 'wccon_variation_swatches_get_wc_attribute_taxonomy', $attribute_taxonomy, $attribute_name ); -
apply_filters( 'woocommerce_price_filter_post_type', array( 'product' ) ); -
woocommerce_price_filter_widget_max_amount
filter Used by 11 plugins → Copy link Customise this hookapply_filters( 'woocommerce_price_filter_widget_max_amount', ceil( $max_price / $step ) * $step ); -
woocommerce_price_filter_widget_min_amount
filter Used by 11 plugins → Copy link Customise this hookapply_filters( 'woocommerce_price_filter_widget_min_amount', floor( $min_price / $step ) * $step ); -
apply_filters( 'woocommerce_price_filter_widget_step', 10 ); -
woocommerce_price_filter_widget_tax_class
filter Used by 20 plugins → Copy link Customise this hookapply_filters( 'woocommerce_price_filter_widget_tax_class', '' ); -
apply_filters( 'wpml_active_languages', null, 'orderby=id&order=desc' ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_post_language_details', null, $page_id );
Generated from WC Contour's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: