YITH WooCommerce Compare 3.16.0 has 53 actions and 156 filters, read directly from its source code on Nov 17, 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 YITH WooCommerce Compare fires an action
add_action( 'yith_woocompare_after_main_table', function( $products, $fixed ) {
// Your code runs here.
}, 10, 2 );
// Change a value YITH WooCommerce Compare is about to use
add_filter( 'yith_woocommerce_vendor_name_template_info', function( $template_info ) {
// Change $template_info here.
return $template_info;
}, 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
-
/** * DO_ACTION: yith_woocompare_after_main_table */ do_action( 'yith_woocompare_after_main_table', $products, $fixed ); -
/** * DO_ACTION: yith_woocompare_after_remove_product */ do_action( 'yith_woocompare_after_remove_product', $product_id ); -
/** * DO_ACTION: yith_woocompare_before_main_table */ do_action( 'yith_woocompare_before_main_table', $products, $fixed ); -
yith_woocompare_popup_head
action/** * DO_ACTION: yith_woocompare_popup_head */ do_action( 'yith_woocompare_popup_head' ); -
yith_plugin_fw_loaded
action/** * Action triggered after the Plugin Framework initialization finishes. */ do_action( 'yith_plugin_fw_loaded' ); -
/** * APPLY_FILTER: yith_plugin_fw_metabox_{meta_box_id}_field_pre_get_value Allow * filtering values for meta-box fields instead of retrieving them by * post_meta(s). */ apply_filters( "yith_plugin_fw_metabox_{$meta_box_id}_field_pre_get_value", null, $post->ID, $field_name, $field ); -
/** * APPLY_FILTERS: yith_woocommerce_vendor_name_template_info */ apply_filters( 'yith_woocommerce_vendor_name_template_info', $template_info ); -
/** * APPLY_FILTERS: yith_woocompare_{$filter_name}_url */ apply_filters( "yith_woocompare_{$filter_name}_url", esc_url_raw( add_query_arg( $url_args, site_url() ) ), $action, $url_args ); -
/** * APPLY_FILTERS: yith_woocompare_actions_to_check_frontend */ apply_filters( 'yith_woocompare_actions_to_check_frontend', array( 'woof_draw_products', 'prdctfltr_respond_550', 'wbmz_get_products', 'jet_smart_filters', 'productfilter' ) ); -
/** * APPLY_FILTERS: yith_woocompare_admin_fields_attributes */ apply_filters( 'yith_woocompare_admin_fields_attributes', $checkboxes, $supported_fields, $option_value ); -
yith_woocompare_admin_tabs
filter/** * APPLY_FILTERS: yith_woocompare_admin_tabs */ apply_filters( 'yith_woocompare_admin_tabs', $tabs ); -
/** * DO_ACTION: yith_woocompare_after_add_product */ do_action( 'yith_woocompare_after_add_product', $product_id ); -
/** * DO_ACTION: yith_woocompare_after_populate_product_list */ do_action( 'yith_woocompare_after_populate_product_list', $this->products_list ); -
/** * APPLY_FILTERS: yith_woocompare_ajax_handlers */ apply_filters( 'yith_woocompare_ajax_handlers', self::$handlers ); -
yith_woocompare_asset_url
filter/** * APPLY_FILTERS: yith_woocompare_asset_url */ apply_filters( 'yith_woocompare_asset_url', home_url( $asset_path ), $asset_path ); -
/** * APPLY_FILTERS: yith_woocompare_check_is_admin */ apply_filters( 'yith_woocompare_check_is_admin', $is_admin ); -
/** * APPLY_FILTERS: yith_woocompare_check_is_frontend */ apply_filters( 'yith_woocompare_check_is_frontend', $is_frontend ); -
/** * APPLY_FILTERS: yith_woocompare_compare_added_label */ apply_filters( 'yith_woocompare_compare_added_label', __( 'Added to compare', 'yith-woocommerce-compare' ) ); -
/** * APPLY_FILTERS: yith_woocompare_compare_table_title */ apply_filters( 'yith_woocompare_compare_table_title', __( 'Product Comparison', 'yith-woocommerce-compare' ) ); -
/** * APPLY_FILTERS: yith_woocompare_custom_label_for_compare_button */ apply_filters( 'yith_woocompare_custom_label_for_compare_button', false ); -
/** * APPLY_FILTERS: yith_woocompare_empty_compare_message */ apply_filters( 'yith_woocompare_empty_compare_message', __( 'No products added in the comparison table.', 'yith-woocommerce-compare' ) ); -
/** * DO_ACTION: yith_woocompare_enqueue_styles_scripts */ do_action( 'yith_woocompare_enqueue_styles_scripts' ); -
/** * APPLY_FILTERS: yith_woocompare_exclude_products_from_list */ apply_filters( 'yith_woocompare_exclude_products_from_list', $products ); -
/** * APPLY_FILTERS: yith_woocompare_field_separator */ apply_filters( 'yith_woocompare_field_separator', ', ', $field, $product ); -
/** * APPLY_FILTERS: yith_woocompare_filter_table_fields */ apply_filters( 'yith_woocompare_filter_table_fields', $fields, $products ); -
/** * APPLY_FILTERS: yith_woocompare_force_showing_popup */ apply_filters( 'yith_woocompare_force_showing_popup', false ); -
/** * APPLY_FILTERS: yith_woocompare_form_handlers */ apply_filters( 'yith_woocompare_form_handlers', self::$handlers ); -
/** * APPLY_FILTERS: yith_woocompare_general_settings */ apply_filters( 'yith_woocompare_general_settings', $options ); -
/** * APPLY_FILTERS: yith_woocompare_get_product_categories */ apply_filters( 'yith_woocompare_get_product_categories', $formatted, $categories, $product_ids ); -
yith_woocompare_integrations
filter/** * APPLY_FILTERS: yith_woocompare_integrations */ apply_filters( 'yith_woocompare_integrations', self::$integrations ); -
yith_woocompare_loaded
action/** * DO_ACTION: yith_woocompare_loaded */ do_action( 'yith_woocompare_loaded' ); -
/** * APPLY_FILTERS: yith_woocompare_main_script_localize_array */ apply_filters( 'yith_woocompare_main_script_localize_array', $args ); -
/** * APPLY_FILTERS: yith_woocompare_popup_settings */ apply_filters( 'yith_woocompare_popup_settings', array( 'width' => '80%', 'height' => '80%', ) ); -
/** * APPLY_FILTERS: yith_woocompare_products_description */ apply_filters( 'yith_woocompare_products_description', $description ); -
/** * APPLY_FILTERS: yith_woocompare_products_list */ apply_filters( 'yith_woocompare_products_list', $valid_ids ); -
/** * APPLY_FILTERS: yith_woocompare_remove_compare_link_by_cat */ apply_filters( 'yith_woocompare_remove_compare_link_by_cat', false, $product_id ); -
/** * APPLY_FILTERS: yith_woocompare_request_handler_action */ apply_filters( 'yith_woocompare_request_handler_action', "yith-woocompare-$handler_key", $handler_key ); -
/** * APPLY_FILTERS: yith_woocompare_selector_for_custom_label_compare_button */ apply_filters( 'yith_woocompare_selector_for_custom_label_compare_button', '.product_title' ); -
/** * APPLY_FILTERS: yith_woocompare_shortcode_counter_args */ apply_filters( 'yith_woocompare_shortcode_counter_args', $args ); -
/** * APPLY_FILTERS: yith_woocompare_skip_display_button */ apply_filters( 'yith_woocompare_skip_display_button', false ); -
/** * APPLY_FILTERS: yith_woocompare_standard_fields_array */ apply_filters( 'yith_woocompare_standard_fields_array', $fields ); -
/** * APPLY_FILTERS: yith_woocompare_support_show_single_variations */ apply_filters( 'yith_woocompare_support_show_single_variations', true ); -
/** * APPLY_FILTERS: yith_woocompare_table_settings */ apply_filters( 'yith_woocompare_table_settings', $options ); -
/** * APPLY_FILTERS: yith_woocompare_user_style_value */ apply_filters( 'yith_woocompare_user_style_value', $custom_css ); -
/** * APPLY_FILTERS: yith_woocompare_value_default_field */ apply_filters( 'yith_woocompare_value_default_field', empty( $product->fields[ $field ] ) ? '-' : do_shortcode( $product->fields[ $field ] ), $product, $field ); -
/** * APPLY_FILTERS: yith_woocompare_view_table_url */ apply_filters( 'yith_woocompare_view_table_url', esc_url_raw( add_query_arg( $url_args, site_url() ) ), $product_id ); -
/** * APPLY_FILTERS: yith_woocompare_widget_template_args */ apply_filters( 'yith_woocompare_widget_template_args', $args ); -
wpml_register_single_string
actiondo_action( 'wpml_register_single_string', 'Widget', 'widget_yit_compare_title_text', $instance['title'] ); -
wpml_translate_single_string
filterapply_filters( 'wpml_translate_single_string', $instance['title'], 'Widget', 'widget_yit_compare_title_text' ); -
apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap', $option_key ); -
yit_admin_panel_form_method
filterapply_filters( 'yit_admin_panel_form_method', 'POST', $option_key ); -
yit_title_special_characters
filterapply_filters( 'yit_title_special_characters', array() ); -
plugin_locale
filterapply_filters( 'plugin_locale', determine_locale(), $domain ); -
apply_filters( 'yith_plugin_fw_wc_panel_screen_ids_for_assets', array() ); -
the_content
filterapply_filters( 'the_content', $content ); -
do_action( 'yit_framework_after_print_wc_panel_content', $option_key ); -
do_action( 'yit_framework_before_print_wc_panel_content', $option_key ); -
yith_bh_onboarding_{$slug}
filterapply_filters( "yith_bh_onboarding_{$slug}", array() ); -
apply_filters( 'yith_plugin_fw_panel_active_tab_class', $active_class, $current_tab, $tab_key ); -
do_action( 'yith_plugin_fw_panel_enqueue_scripts', $this ); -
apply_filters( 'yith_plugin_fw_panel_wc_extra_row_classes', $extra_row_classes, $field ); -
apply_filters( 'yith_plugin_fw_wc_panel_field_data', $field ); -
apply_filters( 'yith_plugin_fw_wc_panel_pre_field_value', null, $field ); -
formatted_woocommerce_price
filterapply_filters( 'formatted_woocommerce_price', number_format( $price, $decimals, $decimal_separator, $thousand_separator ), $price, $decimals, $decimal_separator, $thousand_separator ); -
raw_woocommerce_price
filterapply_filters( 'raw_woocommerce_price', floatval( $negative ? $price * -1 : $price ) ); -
the_excerpt
filterapply_filters( 'the_excerpt', $content ); -
wc_price
filterapply_filters( 'wc_price', $return, $price, $args ); -
wc_price_args
filterapply_filters( 'wc_price_args', $args ); -
woocommerce_price_trim_zeros
filterapply_filters( 'woocommerce_price_trim_zeros', false ); -
do_action( "woocommerce_settings_{sanitize_title($field['id'])}" ); -
do_action( "woocommerce_settings_{sanitize_title($field['id'])}_after" ); -
do_action( "woocommerce_settings_{sanitize_title($field['id'])}_end" ); -
apply_filters( 'woocommerce_short_description', $product->get_short_description() ); -
wp_loaded
actiondo_action( 'wp_loaded' ); -
yit_after_add_settings_page
actiondo_action( 'yit_after_add_settings_page' ); -
yit_after_metaboxes_labels
actiondo_action( 'yit_after_metaboxes_labels' ); -
yit_after_metaboxes_tab
actiondo_action( 'yit_after_metaboxes_tab' ); -
do_action( "yit_before_metabox_option_{urldecode($key)}" ); -
yit_before_metaboxes_labels
actiondo_action( 'yit_before_metaboxes_labels' ); -
yit_before_metaboxes_tab
actiondo_action( 'yit_before_metaboxes_tab' ); -
yit_body_backgrounds
filterapply_filters( 'yit_body_backgrounds', self::$config['body_backgrounds'] ); -
apply_filters( 'yit_framework_show_float_save_button', true ); -
yit_fw_metaboxes_type_args
filterapply_filters( 'yit_fw_metaboxes_type_args', array( 'basename' => YIT_CORE_PLUGIN_PATH, 'path' => '/metaboxes/types/', 'type' => $field['type'], 'args' => array( 'args' => $field ), ) ); -
yit_header_backgrounds
filterapply_filters( 'yit_header_backgrounds', self::$config['header_backgrounds'] ); -
yit_icon_list
filterapply_filters( 'yit_icon_list', $standard_icon_list ); -
apply_filters( "yit_metabox_{$key}_tab_fields", $_tab['fields'] ); -
apply_filters( 'yit_metaboxes_option_main_name', 'yit_metaboxes' ); -
yit_pagination_html
filterapply_filters( 'yit_pagination_html', $html ); -
yit_panel_{$field['type']}
actiondo_action( "yit_panel_{$field['type']}", $field, $db_value ); -
yit_panel_{$option['type']}
actiondo_action( "yit_panel_{$option['type']}", $option, $db_value, $custom_attributes ); -
yit_panel_wc_after_reset
actiondo_action( 'yit_panel_wc_after_reset' ); -
yit_panel_wc_after_update
actiondo_action( 'yit_panel_wc_after_update' ); -
yit_panel_wc_before_reset
actiondo_action( 'yit_panel_wc_before_reset' ); -
yit_panel_wc_before_update
actiondo_action( 'yit_panel_wc_before_update' ); -
apply_filters( 'yit_plugin_fw_help_desk_request_timeout', 2 ); -
apply_filters( 'yit_plugin_fw_help_desk_valid_response_statuses', array( 200 ) ); -
apply_filters( 'yit_plugin_fw_panel_option_args', wp_parse_args( $args, $default_args ) ); -
apply_filters( 'yit_plugin_fw_wc_panel_option_args', $args ); -
apply_filters( 'yit_plugin_panel_asset_loading', false ); -
yit_pointers-{$screen_id}
filterapply_filters( "yit_pointers-{$screen_id}", array() ); -
yit_pointers-{$screen->id}
filterapply_filters( "yit_pointers-{$screen->id}", array() ); -
yit_simple_read_more_classes
filterapply_filters( 'yit_simple_read_more_classes', ' ' ); -
yit_video_vimeo
filterapply_filters( 'yit_video_vimeo', $html ); -
yit_video_youtube
filterapply_filters( 'yit_video_youtube', $html ); -
yit_wc_deprecated_filters
filterapply_filters( 'yit_wc_deprecated_filters', $filters ); -
yit-pointer-special-screen
filterapply_filters( 'yit-pointer-special-screen', array( 'plugins', 'update' ) ); -
yith_admin_tab_params
filterapply_filters( 'yith_admin_tab_params', $additional_info ); -
apply_filters( 'yith_bh_onboarding_save_option_value', $value, $single_option, $slug ); -
apply_filters( "yith_bh_onboarding_save_options_{$slug}", isset( $options['tabs'][ $tab ]['options'] ), $posted ); -
yith_database_info
filterapply_filters( 'yith_database_info', array( 'mysql_version' => $database_version['number'], 'mysql_version_string' => $database_version['string'], 'database_tables' => $tables, 'database_size' => $database_size, ) ); -
apply_filters( "yith_plugin_fw_{$screen_id}_bulk_delete_confirmation_enabled", in_array( $pagenow, array( 'edit.php', 'edit-tags.php' ), true ) ); -
apply_filters( 'yith_plugin_fw_add_new_post_url', esc_url( add_query_arg( $params, $admin_url ) ), $params, isset( $args ) ? $args : false ); -
do_action( 'yith_plugin_fw_before_woocommerce_panel', $page ); -
do_action( 'yith_plugin_fw_before_yith_panel', $this->settings['page'] ); -
yith_plugin_fw_date_formats
filterapply_filters( 'yith_plugin_fw_date_formats', $date_formats, $js ); -
do_action( 'yith_plugin_fw_elementor_after_do_shortcode', $shortcode, $this ); -
do_action( 'yith_plugin_fw_elementor_before_do_shortcode', $shortcode, $this ); -
do_action( 'yith_plugin_fw_elementor_editor_after_do_shortcode', $shortcode, $this ); -
do_action( 'yith_plugin_fw_elementor_editor_before_do_shortcode', $shortcode, $this ); -
apply_filters( 'yith_plugin_fw_elementor_editor_shortcode', $shortcode, $this ); -
apply_filters( 'yith_plugin_fw_elementor_shortcode', $shortcode, $this ); -
do_action( "yith_plugin_fw_get_field_{$field['type']}_after", $field ); -
do_action( "yith_plugin_fw_get_field_{$field['type']}_before", $field ); -
do_action( 'yith_plugin_fw_get_field_after', $field ); -
do_action( 'yith_plugin_fw_get_field_before', $field ); -
apply_filters( 'yith_plugin_fw_get_field_template_path', $field_template, $field ); -
do_action( 'yith_plugin_fw_gutenberg_after_do_shortcode', $shortcode, $current_action ); -
do_action( 'yith_plugin_fw_gutenberg_before_do_shortcode', $shortcode, $current_action ); -
apply_filters( 'yith_plugin_fw_gutenberg_shortcode', $shortcode, $current_action ); -
apply_filters( 'yith_plugin_fw_gutenberg_skip_shortcode_sanitize', false ); -
apply_filters( "yith_plugin_fw_icons_field_icons_{sanitize_key($filter_suffix)}", $icons ); -
apply_filters( 'yith_plugin_fw_inline_fields_allowed_types', array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html', 'datepicker', 'colorpicker' ), $name, $field ); -
apply_filters( 'yith_plugin_fw_json_search_found_post_title', rawurldecode( wp_strip_all_tags( $the_title ) ), $post_id, $request ); -
apply_filters( 'yith_plugin_fw_json_search_found_posts', $found_posts, $request ); -
apply_filters( 'yith_plugin_fw_json_search_found_terms', $terms, $args ); -
apply_filters( 'yith_plugin_fw_json_search_order_limit', 10 ); -
apply_filters( 'yith_plugin_fw_json_search_order_number', $term ); -
apply_filters( 'yith_plugin_fw_json_search_order_term', $term ); -
apply_filters( 'yith_plugin_fw_json_search_products_request', $request ); -
apply_filters( 'yith_plugin_fw_json_search_terms_args', $args ); -
apply_filters( 'yith_plugin_fw_json_search_terms_default_args', array( 'taxonomy' => 'category', 'hide_empty' => false, 'order' => 'ASC', 'orderby' => 'name', 'include' => '', 'exclude' => '', 'exclude_tree' => '', 'number' => '', 'hierarchical' => true, 'child_of' => 0, 'parent' => '', 'term_field' => 'id', ) ); -
do_action( "yith_plugin_fw_metabox_before_render_{$meta_box['id']}", $post, $meta_box ); -
yith_plugin_fw_metabox_class
filterapply_filters( 'yith_plugin_fw_metabox_class', $class, $post ); -
apply_filters( 'yith_plugin_fw_metabox_enqueue_styles_and_scripts', $enqueue, $this ); -
apply_filters( 'yith_plugin_fw_metabox_extra_row_classes', $extra_row_classes, $field ); -
apply_filters( 'yith_plugin_fw_metabox_field_row_template_path', YIT_CORE_PLUGIN_TEMPLATE_PATH . '/metaboxes/field-row.php', $field ); -
apply_filters( 'yith_plugin_fw_metabox_label_allowed_tags', $label_allowed_tags, $meta_box_id ); -
yith_plugin_fw_order_number
filterapply_filters( 'yith_plugin_fw_order_number', '#' . $order->get_id(), $order->get_id() ); -
apply_filters( "yith_plugin_fw_panel_{$panel_page}_get_post_type_tabs", $tabs, $post_type ); -
apply_filters( "yith_plugin_fw_panel_{$panel_page}_get_taxonomy_tabs", $tabs, $taxonomy ); -
do_action( 'yith_plugin_fw_panel_before_panel_header', $this ); -
apply_filters( 'yith_plugin_fw_panel_field_container_template_path', YIT_CORE_PLUGIN_TEMPLATE_PATH . '/panel/panel-field-container.php', $option ); -
apply_filters( 'yith_plugin_fw_panel_has_help_tab', isset( $this->settings['help_tab'] ) && is_array( $this->settings['help_tab'] ) && ( ! $this->is_free() || ! empty( $this->settings['help_tab']['show_on_free'] ) ), $this ); -
apply_filters( 'yith_plugin_fw_panel_help_tab_options', $options, $this->settings ); -
yith_plugin_fw_panel_url
filterapply_filters( 'yith_plugin_fw_panel_url', $url, $page, $tab, $sub_tab, $parent_page ); -
apply_filters( 'yith_plugin_fw_pointers_special_screens', array( 'plugins', 'update' ) ); -
apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key ); -
do_action( 'yith_plugin_fw_privacy_guide_content_after' ); -
do_action( 'yith_plugin_fw_privacy_guide_content_before' ); -
apply_filters( 'yith_plugin_fw_privacy_policy_content', ob_get_clean() ); -
apply_filters( 'yith_plugin_fw_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... ); -
apply_filters( 'yith_plugin_fw_privacy_policy_guide_title', _x( 'YITH Plugins', 'Privacy Policy Guide Title', 'yith-plugin-fw' ) ); -
apply_filters( 'yith_plugin_fw_radio_field_label_allowed_tags', $label_allowed_tags, $field ); -
yith_plugin_fw_rate_url
filterapply_filters( 'yith_plugin_fw_rate_url', 'https://wordpress.org/support/plugin/' . $plugin_slug . '/reviews/#new-post' ); -
apply_filters( 'yith_plugin_fw_show_dashboard_widgets', true ); -
yith_plugin_fw_time_formats
filterapply_filters( 'yith_plugin_fw_time_formats', $time_formats ); -
apply_filters( "yith_plugin_fw_toggle_element_subtitle_{$field_id}", $subtitle_element, $elements, $value ); -
apply_filters( "yith_plugin_fw_toggle_element_title_{$field_id}", $title_element, $elements, $value ); -
apply_filters( 'yith_plugin_fw_wc_panel_sanitize_option', $value, $option, $raw_value ); -
apply_filters( 'yith_plugin_panel_item_options_path', $path, $options_path, $item, $this ); -
apply_filters( 'yith_plugin_panel_sub_tab_item_options_path', $sub_tab_path, $sub_tabs, $sub_item, $this ); -
apply_filters( "yith_plugin_row_meta_{$field}_url", $url, $field, $slug, $base_uri ); -
yith_show_plugin_row_meta
filterapply_filters( 'yith_show_plugin_row_meta', array( 'to_show' => $to_show, 'slug' => '', ), $plugin_meta, $plugin_file, $plugin_data, $status ); -
yith_system_additional_check
filterapply_filters( 'yith_system_additional_check', array( 'min_wp_version' => get_bloginfo( 'version' ), 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : 'n/a', 'wp_memory_limit' => $wp_memory_limit, 'min_php_version' => $php_version, 'min_tls_version' => $tls, 'imagick_version' => $imagick_version, 'wp_cron_enabled' => ( ! ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) || apply_filters( 'yith_system_status_server_cron', false... ); -
yith_system_generic_message
filterapply_filters( 'yith_system_generic_message', '', $key, $item, $label ); -
yith_system_status_check_ip
filterapply_filters( 'yith_system_status_check_ip', true ); -
yith_system_status_check_ssl
filterapply_filters( 'yith_system_status_check_ssl', true ); -
apply_filters( 'yith_system_status_enable_phpinfo', true ); -
apply_filters( 'yith_system_status_server_cron', false ); -
yith_toggle_elements_index
filterapply_filters( 'yith_toggle_elements_index', $i++, $key ); -
apply_filters( 'yith_wc_plugin_panel_current_tab', parent::get_current_tab() ); -
yith_woocompare_300_upgrade
actiondo_action( 'yith_woocompare_300_upgrade' ); -
apply_filters( 'yith_woocompare_add_product_action_json', $response ); -
apply_filters( 'yith_woocompare_admin_fields_is_attribute_fixed', in_array( $slug, array( 'title', 'image', 'add_to_cart' ), true ) || str_ends_with( $slug, '_2' ), $slug ); -
do_action( 'yith_woocompare_after_compare' ); -
do_action( 'yith_woocompare_after_product_info_add_to_cart', $product, $fields ); -
do_action( 'yith_woocompare_before_compare' ); -
do_action( 'yith_woocompare_before_product_info_add_to_cart', $product, $fields ); -
apply_filters( 'yith_woocompare_button_classes', $anchor_classes, $product_id ); -
apply_filters( 'yith_woocompare_button_shortcode_product_id', $product_id, $atts ); -
yith_woocompare_cookie_value
filterapply_filters( 'yith_woocompare_cookie_value', $cookie_value ); -
do_action_ref_array( "yith_woocompare_field_{$field}", array( $product, &$product->fields ) ); -
yith_woocompare_panel_args
filterapply_filters( 'yith_woocompare_panel_args', array_merge( array( 'create_menu_page' => true, 'parent_slug' => '', 'ui_version' => 2, 'page_title' => 'YITH WooCommerce Compare', 'menu_title' => 'Compare', 'plugin_description' => __( 'It allows you to compare in a simple and efficient way products on sale in your shop and analyze their main features in a single table.', 'yith-woocommerce-compare' ), 'capability' => 'manage_options', 'parent... ); -
apply_filters( 'yith_woocompare_reload_compare_action_json', $response ); -
yith_woocompare_remove_icon
filterapply_filters( 'yith_woocompare_remove_icon', 'x' ); -
yith_woocompare_remove_label
filterapply_filters( 'yith_woocompare_remove_label', esc_html__( 'Remove', 'yith-woocommerce-compare' ) ); -
apply_filters( 'yith_woocompare_remove_product_action_json', $response ); -
apply_filters( 'yith_woocompare_should_show_preview_bar', true ); -
yith_woocompare_table_args
filterapply_filters( 'yith_woocompare_table_args', array_merge( array( 'table' => $this, ), compact( 'products', 'fields', 'default_fields', 'show_product_info', 'repeat_price', 'repeat_add_to_cart', 'stock_icons', 'fixed', 'iframe', 'table_title', 'table_desc', 'image_size', 'different', 'layout' ), $args ) ); -
apply_filters( 'yith_woocompare_table_should_skip_field', false, $field ); -
yith_woocompare_use_wc_ajax
filterapply_filters( 'yith_woocompare_use_wc_ajax', true ); -
apply_filters( 'yith_woocompare_widget_view_table_button', __( 'Compare', 'yith-woocommerce-compare' ) );
Generated from YITH WooCommerce Compare's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: