QODE Compare for WooCommerce 1.0.2 has 61 actions and 112 filters, read directly from its source code on Nov 18, 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 QODE Compare for WooCommerce fires an action
add_action( 'qode_compare_for_woocommerce_action_before_comparison_table', function() {
// Your code runs here.
}, 10, 1 );
// Change a value QODE Compare for WooCommerce is about to use
add_filter( 'qode_compare_for_woocommerce_filter_widget_compare_button_url', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * Hook: qode_compare_for_woocommerce_action_before_comparison_table. */ do_action( 'qode_compare_for_woocommerce_action_before_comparison_table' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_widget_compare_button_url', '#' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_meta_box_save', array( 'product' ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_link', $product_permalink, $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_item_permalink
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_permalink', $product->is_visible() ? $product->get_permalink( $item_id ) : '', $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_item_product
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_product', wc_get_product( $item_id ), $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_wp_kses_svg_atts', array( 'svg' => array( 'xmlns' => true, 'version' => true, 'id' => true, 'class' => true, 'x' => true, 'y' => true, 'aria-hidden' => true, 'aria-labelledby' => true, 'role' => true, 'width' => true, 'height' => true, 'viewbox' => true, 'enable-background' => true, 'focusable' => true, 'data-prefix' => true, 'data-icon' => true, ), 'g' => array( 'stroke' => true, 'stroke-width' => true, 'fill' =... ); -
do_action( 'qode_compare_for_woocommerce_action_additional_scripts' ); -
qode_compare_for_woocommerce_action_additional_scripts_on_options_page_{$this->get_slug()}
action Copy link Customise this hookdo_action( "qode_compare_for_woocommerce_action_additional_scripts_on_options_page_{$this->get_slug()}" ); -
do_action( 'qode_compare_for_woocommerce_action_after_button_text_option', $section ); -
do_action( 'qode_compare_for_woocommerce_action_after_button_type_option', $section ); -
qode_compare_for_woocommerce_action_after_compare_table_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_after_compare_table_options_map', $page, $general_tab ); -
qode_compare_for_woocommerce_action_after_compare_table_product_fields_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_after_compare_table_product_fields_options_map', $page, $general_section ); -
qode_compare_for_woocommerce_action_after_compare_table_title_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_after_compare_table_title_options_map', $page, $general_section ); -
do_action( 'qode_compare_for_woocommerce_action_after_comparison_table' ); -
do_action( 'qode_compare_for_woocommerce_action_after_include_modules' ); -
qode_compare_for_woocommerce_action_after_repeat_add_to_cart_field_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_after_repeat_add_to_cart_field_options_map', $page, $general_section ); -
do_action( 'qode_compare_for_woocommerce_action_after_show_in_loop_option', $section ); -
qode_compare_for_woocommerce_action_after_show_on_single_product_option
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_after_show_on_single_product_option', $section ); -
qode_compare_for_woocommerce_action_after_updating_compare_table
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_after_updating_compare_table' ); -
do_action( 'qode_compare_for_woocommerce_action_before_include_modules' ); -
qode_compare_for_woocommerce_action_before_updating_compare_table
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_before_updating_compare_table' ); -
qode_compare_for_woocommerce_action_comparison_table_before_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_comparison_table_before_options_map', $page ); -
qode_compare_for_woocommerce_action_comparison_table_item_after_field_content
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_comparison_table_item_after_field_content', $table_item_key, $product, $item_id ); -
qode_compare_for_woocommerce_action_comparison_table_item_before_field_content
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_comparison_table_item_before_field_content', $table_item_key, $product, $item_id ); -
do_action( 'qode_compare_for_woocommerce_action_core_options_init' ); -
do_action( 'qode_compare_for_woocommerce_action_default_meta_boxes_init' ); -
do_action( 'qode_compare_for_woocommerce_action_default_options_init', $page ); -
qode_compare_for_woocommerce_action_framework_{$custom_holder_slug}
action Copy link Customise this hookdo_action( "qode_compare_for_woocommerce_action_framework_{$custom_holder_slug}" ); -
qode_compare_for_woocommerce_action_framework_after_dashboard_scripts
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_dashboard_scripts' ); -
qode_compare_for_woocommerce_action_framework_after_framework_option_reset
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_framework_option_reset' ); -
qode_compare_for_woocommerce_action_framework_after_framework_option_save
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_framework_option_save' ); -
qode_compare_for_woocommerce_action_framework_after_framework_plugin_loaded
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_framework_plugin_loaded' ); -
qode_compare_for_woocommerce_action_framework_after_framework_root_init
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_framework_root_init' ); -
qode_compare_for_woocommerce_action_framework_after_meta_options_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_meta_options_register' ); -
qode_compare_for_woocommerce_action_framework_after_options_init_{$this->get_options_name()}
action Copy link Customise this hookdo_action( "qode_compare_for_woocommerce_action_framework_after_options_init_{$this->get_options_name()}", $this->get_options_name() ); -
qode_compare_for_woocommerce_action_framework_after_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_options_map', $this->get_menu_name() ); -
qode_compare_for_woocommerce_action_framework_after_options_populate
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_options_populate', $this->get_options_name() ); -
qode_compare_for_woocommerce_action_framework_after_options_registered
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_options_registered', $this->get_options_name() ); -
qode_compare_for_woocommerce_action_framework_after_shortcodes_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_shortcodes_register' ); -
qode_compare_for_woocommerce_action_framework_after_widgets_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_after_widgets_register' ); -
qode_compare_for_woocommerce_action_framework_before_dashboard_scripts
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_dashboard_scripts' ); -
qode_compare_for_woocommerce_action_framework_before_framework_option_save
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_framework_option_save', $saved_global_options, $new_global_options ); -
qode_compare_for_woocommerce_action_framework_before_framework_plugin_loaded
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_framework_plugin_loaded' ); -
qode_compare_for_woocommerce_action_framework_before_framework_root_init
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_framework_root_init' ); -
qode_compare_for_woocommerce_action_framework_before_meta_options_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_meta_options_register' ); -
qode_compare_for_woocommerce_action_framework_before_options_init_{$this->get_options_name()}
action Copy link Customise this hookdo_action( "qode_compare_for_woocommerce_action_framework_before_options_init_{$this->get_options_name()}", $this->get_options_name() ); -
qode_compare_for_woocommerce_action_framework_before_options_map
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_options_map', $this->get_menu_name() ); -
qode_compare_for_woocommerce_action_framework_before_options_populate
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_options_populate', $this->get_options_name() ); -
qode_compare_for_woocommerce_action_framework_before_options_registered
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_options_registered', $this->get_options_name() ); -
qode_compare_for_woocommerce_action_framework_before_shortcodes_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_shortcodes_register' ); -
qode_compare_for_woocommerce_action_framework_before_widgets_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_before_widgets_register' ); -
qode_compare_for_woocommerce_action_framework_custom_attribute_fields
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_custom_attribute_fields' ); -
qode_compare_for_woocommerce_action_framework_custom_media_fields
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_custom_media_fields' ); -
qode_compare_for_woocommerce_action_framework_custom_page_content
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_custom_page_content', $page_slug ?? '' ); -
qode_compare_for_woocommerce_action_framework_custom_taxonomy_fields
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_custom_taxonomy_fields' ); -
qode_compare_for_woocommerce_action_framework_field_type_load_assets
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_field_type_load_assets', $this->field_type ); -
qode_compare_for_woocommerce_action_framework_field_widget_type_load_assets
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_field_widget_type_load_assets', $this->field_type ); -
qode_compare_for_woocommerce_action_framework_page_additional_scripts
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_page_additional_scripts' ); -
qode_compare_for_woocommerce_action_framework_populate_meta_box
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_action_framework_populate_meta_box' ); -
do_action( 'qode_compare_for_woocommerce_action_general_button_options', $button_general_section, $general_tab, $page ); -
do_action( 'qode_compare_for_woocommerce_action_on_activation' ); -
do_action( 'qode_compare_for_woocommerce_action_on_deactivation' ); -
apply_filters( 'qode_compare_for_woocommerce_button_label_option_dependency', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_add_inline_style', '' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_add_sub_page', $sub_pages = array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_admin_pages_cpt', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_admin_pages_tax', array() ); -
qode_compare_for_woocommerce_filter_attribute_fields_default_value
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_attribute_fields_default_value', array_keys( qode_compare_for_woocommerce_get_comparison_table_fields() ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_attribute_taxonomies', array() ); -
qode_compare_for_woocommerce_filter_auto_lightbox_option_dependency
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_auto_lightbox_option_dependency', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_auto_popup_default_value', 'yes' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_button_added_text', esc_html__( 'Added to Compare', 'qode-compare-for-woocommerce' ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_button_type_default_value', 'textual' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_compare_add_condition', 'add' === $action, $action ); -
apply_filters( 'qode_compare_for_woocommerce_filter_compare_button', qode_compare_for_woocommerce_get_template_part( 'compare/shortcodes/compare-button', 'templates/compare-button', '', $atts ), $atts ); -
qode_compare_for_woocommerce_filter_compare_button_holder_classes
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_button_holder_classes', $holder_classes, $atts ); -
qode_compare_for_woocommerce_filter_compare_button_loop_position
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_button_loop_position', 'after-button' ); -
qode_compare_for_woocommerce_filter_compare_button_loop_position_map
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_button_loop_position_map', array( 'after-button' => array( 'hook' => 'woocommerce_after_shop_loop_item', 'priority' => 11, ), '' => array( 'hook' => 'woocommerce_after_shop_loop_item', 'priority' => 11, ), ) ); -
qode_compare_for_woocommerce_filter_compare_button_options_page_layout
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_button_options_page_layout', '' ); -
qode_compare_for_woocommerce_filter_compare_button_single_position
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_button_single_position', 'after-button' ); -
qode_compare_for_woocommerce_filter_compare_button_single_position_map
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_button_single_position_map', array( 'after-button' => array( 'hook' => 'woocommerce_single_product_summary', 'priority' => 31, ), '' => array( 'hook' => 'woocommerce_single_product_summary', 'priority' => 31, ), ) ); -
qode_compare_for_woocommerce_filter_compare_counter_widget_holder_classes
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_counter_widget_holder_classes', $classes ); -
apply_filters( 'qode_compare_for_woocommerce_filter_compare_message', $message, $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_compare_response_data', array(), $item_id, $message, $options ); -
apply_filters( 'qode_compare_for_woocommerce_filter_compare_table_content', qode_compare_for_woocommerce_get_template_part( 'compare/templates', 'table', '', $params ), $params ); -
qode_compare_for_woocommerce_filter_compare_table_item_view_product
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_table_item_view_product', sprintf( '<a href="%s" class="%s">%s</a>', esc_url( $product->get_permalink() ), esc_attr( $args['class'] ?? $default_classes ), '<span class="qcfw-e-add-to-cart-label">' . $product->add_to_cart_text() . '</span>' ), $product, $args, $item_id ); -
qode_compare_for_woocommerce_filter_compare_table_response_data
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_table_response_data', array( 'new_content' => $new_content, 'not_found_content' => $not_found_content, 'items_count' => is_array( $comparison_items ) ? count( $comparison_items ) : 0, ), $comparison_items, $action, $options ); -
qode_compare_for_woocommerce_filter_compare_table_response_data_content_condition
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_table_response_data_content_condition', true ); -
qode_compare_for_woocommerce_filter_compare_table_response_message
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_table_response_message', $response_message, $action ); -
qode_compare_for_woocommerce_filter_compare_widget_holder_classes
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_widget_holder_classes', $classes ); -
qode_compare_for_woocommerce_filter_compare_widget_show_compare_button
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_compare_widget_show_compare_button', true, get_the_ID() ); -
qode_compare_for_woocommerce_filter_comparison_table_{$table_item_key}
filter Copy link Customise this hookapply_filters( "qode_compare_for_woocommerce_filter_comparison_table_{$table_item_key}", $taxonomies, $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_description
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_description', $description, $product ); -
qode_compare_for_woocommerce_filter_comparison_table_dimensions
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_dimensions', $dimensions, $product, $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_fields', array_merge( array( 'name' => esc_html__( 'Title', 'qode-compare-for-woocommerce' ), 'price' => esc_html__( 'Price', 'qode-compare-for-woocommerce' ), 'add-to-cart' => esc_html__( 'Add to cart', 'qode-compare-for-woocommerce' ), 'description' => esc_html__( 'Description', 'qode-compare-for-woocommerce' ), 'sku' => esc_html__( 'SKU', 'qode-compare-for-woocommerce' ), 'stock-status' => esc_html__... ); -
qode_compare_for_woocommerce_filter_comparison_table_item_add_to_cart
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_add_to_cart', sprintf( '<a href="%s" data-quantity="%s" class="%s" %s>%s%s</a>', esc_url( $product->add_to_cart_url() ), esc_attr( $args['quantity'] ?? 1 ), esc_attr( $args['class'] ?? $default_classes ), isset( $args['attributes'] ) ? qode_compare_for_woocommerce_get_inline_attrs( $args['attributes'] ) : '', '<span class="qcfw-m-add-to-cart-label">' . $product->add_to_cart_text() . '</span>', $has_spinner ?... ); -
qode_compare_for_woocommerce_filter_comparison_table_item_add_to_cart_args
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_add_to_cart_args', $args, $product ); -
qode_compare_for_woocommerce_filter_comparison_table_item_content
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_content', qode_compare_for_woocommerce_execute_template_with_params( $template, $item_args ), $table_item_key, $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_name', $product_name, $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_item_price
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_price', $price, $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_item_remove_link
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_remove_link', sprintf( '<a href="#" class="qcfw-m-remove-button qcfw-spinner-item" aria-label="%s" data-item-id="%s" data-confirm-text="%s" rel="noopener noreferrer">%s%s</a>', esc_attr__( 'Remove this item', 'qode-compare-for-woocommerce' ), esc_attr( $item_id ), esc_attr__( 'Are you sure you want to remove this item?', 'qode-compare-for-woocommerce' ), '<span class="qcfw-m-remove-button-icon">' . qode_comp... ); -
qode_compare_for_woocommerce_filter_comparison_table_item_show_add_to_cart
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_show_add_to_cart', true, $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_item_stock_status
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_stock_status', sprintf( '<span class="qcfw-m-item-stock %s" title="%s">%s</span>', $stock_status_class, $stock_status_title, $stock_status_label ), $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_item_thumbnail
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_item_thumbnail', $product_image, $product, $item_id ); -
qode_compare_for_woocommerce_filter_comparison_table_options_page_layout
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_options_page_layout', '' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_sku', $product->get_sku(), $product, $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_comparison_table_weight', $weight, $product, $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_cookie_expiration', 604800 ); -
apply_filters( 'qode_compare_for_woocommerce_filter_default_table_title_label', esc_html__( 'Compare selected items', 'qode-compare-for-woocommerce' ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_enable_global_options', true ); -
qode_compare_for_woocommerce_filter_framework_add_elementor_inline_style
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_add_elementor_inline_style', $style = '' ); -
qode_compare_for_woocommerce_filter_framework_add_shortcode_container
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_add_shortcode_container', array() ); -
qode_compare_for_woocommerce_filter_framework_add_wpbakery_inline_style
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_add_wpbakery_inline_style', $style = '' ); -
qode_compare_for_woocommerce_filter_framework_complete_fonts_list
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_complete_fonts_list', $complete_fonts_array ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_field_mapping', $class, $post_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_get_option_value', $value, $name ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_google_fonts', $google_fonts_array ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_meta_box_remove', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_page_id', $page_id ); -
qode_compare_for_woocommerce_filter_framework_parse_repeater_items
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_parse_repeater_items', $items_formatted ); -
qode_compare_for_woocommerce_filter_framework_register_admin_options
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_register_admin_options', $this->admin_options ); -
qode_compare_for_woocommerce_filter_framework_shortcode_content_html
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_shortcode_content_html', $content, $options ); -
qode_compare_for_woocommerce_filter_framework_shortcode_holder_classes
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_shortcode_holder_classes', $holder_classes ); -
qode_compare_for_woocommerce_filter_framework_shortcode_item_classes
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_shortcode_item_classes', $item_classes ); -
qode_compare_for_woocommerce_filter_framework_shortcode_options_import_skip
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_shortcode_options_import_skip', array( 'dependency' ) ); -
qode_compare_for_woocommerce_filter_framework_value_through_levels_{$name}
filter Copy link Customise this hookapply_filters( "qode_compare_for_woocommerce_filter_framework_value_through_levels_{$name}", $value ); -
qode_compare_for_woocommerce_filter_framework_web_safe_fonts_list
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_web_safe_fonts_list', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Courier New', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Palatino Linotype', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana', ) ); -
qode_compare_for_woocommerce_filter_framework_wp_kses_content_atts
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_wp_kses_content_atts', array( 'div' => array( 'id' => true, 'class' => true, 'style' => true, ), 'ul' => array( 'class' => true, ), 'li' => array( 'class' => true, ), 'br' => true, 'h1' => array( 'class' => true, 'style' => true, ), 'h2' => array( 'class' => true, 'style' => true, ), 'h3' => array( 'class' => true, 'style' => true, ), 'h4' => array( 'class' => true, 'style' => true, ), 'h5' => array( 'class' => true,... ); -
qode_compare_for_woocommerce_filter_framework_wp_kses_description_atts
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_framework_wp_kses_description_atts', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_framework_wp_kses_img_atts', array( 'itemprop' => true, 'id' => true, 'class' => true, 'width' => true, 'height' => true, 'src' => true, 'srcset' => true, 'sizes' => true, 'alt' => true, 'title' => true, ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_hide_compare_button', false ); -
qode_compare_for_woocommerce_filter_include_elementor_shortcodes
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_include_elementor_shortcodes', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_include_shortcodes', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_is_enabled', true, wp_is_mobile() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_is_plugin_installed', false, $plugin ); -
apply_filters( 'qode_compare_for_woocommerce_filter_item_id', qode_compare_for_woocommerce_get_original_product_id( $item_id ), $action, $table_name ); -
qode_compare_for_woocommerce_filter_localize_main_plugin_script
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_localize_main_plugin_script', array( 'adminBarHeight' => is_admin_bar_showing() ? ( wp_is_mobile() ? 46 : 32 ) : 0, 'autoPopup' => isset( $autopopup ) && 'no' !== $autopopup, 'removalConfirmation' => isset( $removal_confirmation ) && 'no' !== $removal_confirmation, 'buttonText' => $button_text, 'addedText' => apply_filters( 'qode_compare_for_woocommerce_filter_button_added_text', esc_html__( 'Added to Compare', 'qode-compar... ); -
apply_filters( 'qode_compare_for_woocommerce_filter_modal_template', qode_compare_for_woocommerce_get_template_part( 'compare/templates', 'modal' ) ); -
qode_compare_for_woocommerce_filter_privacy_erase_compare_personal_data
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_privacy_erase_compare_personal_data', true, $compare ); -
qode_compare_for_woocommerce_filter_privacy_policy_content_sections
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_privacy_policy_content_sections', array( 'general' => array( 'tutorial' => _x( 'This sample language includes the basics around what personal data your store may be collecting, storing and sharing, as well as who may have access to that data. Depending on what settings are enabled and which additional plugins are used, the specific information shared by your store will vary. We recommend consulting with a lawyer when deciding w... ); -
qode_compare_for_woocommerce_filter_privacy_policy_guide_content
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_privacy_policy_guide_content', '', $key ); -
apply_filters( 'qode_compare_for_woocommerce_filter_privacy_policy_guide_title', _x( 'QODE Compare for WooCommerce', 'Privacy Policy Guide Title', 'qode-compare-for-woocommerce' ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_register_shortcodes', $shortcodes = array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_register_widgets', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_rest_api_global_variables', $global, $this->get_namespace() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_rest_api_routes', array() ); -
apply_filters( 'qode_compare_for_woocommerce_filter_sc_button_added_text', esc_html__( 'Added to Compare', 'qode-compare-for-woocommerce' ), $atts ); -
apply_filters( 'qode_compare_for_woocommerce_filter_sc_button_text', qode_compare_for_woocommerce_get_option_value( 'admin', 'qode_compare_for_woocommerce_button_text' ), $atts ); -
apply_filters( 'qode_compare_for_woocommerce_filter_sc_button_type', $button_type_option, $atts ); -
apply_filters( 'qode_compare_for_woocommerce_filter_select_type_option', $options, $type, $enable_default, $exclude ); -
apply_filters( 'qode_compare_for_woocommerce_filter_set_cookie', true ); -
apply_filters( 'qode_compare_for_woocommerce_filter_show_compare_button', true, $item_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_show_in_loop_default_value', 'yes' ); -
qode_compare_for_woocommerce_filter_show_on_single_product_default_value
filter Copy link Customise this hookapply_filters( 'qode_compare_for_woocommerce_filter_show_on_single_product_default_value', 'no' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_svg_icon', $html, $name, $class_name ); -
apply_filters( 'qode_compare_for_woocommerce_filter_table_items', array_merge( array( 'thumbnail' => '' ), $selected_table_items ), $items ); -
apply_filters( 'qode_compare_for_woocommerce_filter_table_title', array( 'qcfw-table-title' ) ); -
apply_filters( 'qode_compare_for_woocommerce_filter_table_title_tag', 'h4' ); -
apply_filters( 'qode_compare_for_woocommerce_filter_user_comparison_items', $user_comparison_items, $user_id ); -
apply_filters( 'qode_compare_for_woocommerce_filter_widget_thumbnail', $product_image, $product, $item_id ); -
qode_compare_for_woocommerce_framework_action_after_post_types_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_framework_action_after_post_types_register' ); -
qode_compare_for_woocommerce_framework_action_before_post_types_register
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_framework_action_before_post_types_register' ); -
qode_compare_for_woocommerce_framework_action_field_wp_type_load_assets
action Copy link Customise this hookdo_action( 'qode_compare_for_woocommerce_framework_action_field_wp_type_load_assets', $this->field_type ); -
apply_filters( 'qode_compare_for_woocommerce_framework_filter_wp_kses_custom', $content, $type ); -
apply_filters( 'sanitize_text_field', $sanitized_value, $value ); -
apply_filters( 'woocommerce_short_description', $product->get_short_description() ); -
apply_filters( 'wpml_object_id', $item_id, 'product', true, $sitepress->get_default_language() );
Generated from QODE Compare for WooCommerce'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: