YITH Color and Label Variations for WooCommerce 2.33.0 has 46 actions and 112 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 Color and Label Variations for WooCommerce fires an action
add_action( 'yith_wccl_print_attribute_field', function( $attribute_type, $values, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value YITH Color and Label Variations for WooCommerce is about to use
add_filter( 'yith_wccl_form_field_args', function( $parse_args, $field ) {
// Change $parse_args here.
return $parse_args;
}, 10, 2 );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_wccl_print_attribute_field */ do_action( 'yith_wccl_print_attribute_field', $attribute->attribute_type, $values, true ); -
/** * Hook woocommerce_after_single_variation. */ do_action( 'woocommerce_after_single_variation' ); -
/** * Hook woocommerce_before_single_variation. */ do_action( 'woocommerce_before_single_variation' ); -
woocommerce_single_variation
action/** * Hook woocommerce_single_variation. Used to output the cart button and * placeholder for variation data. */ do_action( 'woocommerce_single_variation' ); -
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 ); -
yith_wccl_form_field_args
filter/** * APPLY_FILTERS: yith_wccl_form_field_args */ apply_filters( 'yith_wccl_form_field_args', wp_parse_args( $field, $defaults ), $field ); -
yith_wccl_form_field_html
filter/** * APPLY_FILTERS: yith_wccl_form_field_html */ apply_filters( 'yith_wccl_form_field_html', $html, $field ); -
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 ); -
apply_filters( 'woocommerce_variation_option_name', $term->name ); -
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 ); -
yith_wccl_loaded
actiondo_action( 'yith_wccl_loaded' ); -
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 ); -
do_action( 'woocommerce_after_add_to_cart_form' ); -
do_action( 'woocommerce_after_variations_form' ); -
do_action( 'woocommerce_before_add_to_cart_form' ); -
do_action( 'woocommerce_before_variations_form' ); -
apply_filters( 'woocommerce_out_of_stock_message', __( 'This product is currently out of stock and unavailable.', 'woocommerce' ) ); -
woocommerce_price_trim_zeros
filterapply_filters( 'woocommerce_price_trim_zeros', false ); -
apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#">' . esc_html__( 'Clear', 'woocommerce' ) . '</a>' ); -
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" ); -
wp_loaded
actiondo_action( 'wp_loaded' ); -
wpml_register_single_string
actiondo_action( 'wpml_register_single_string', $context, $name, $value ); -
wpml_translate_single_string
filterapply_filters( 'wpml_translate_single_string', $default_value, $context, $name ); -
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_wccl_custom_css
filterapply_filters( 'yith_wccl_custom_css', $template ); -
yith_wccl_gel_fields_type
filterapply_filters( 'yith_wccl_gel_fields_type', $fields_type, $type, $term, $taxonomy, $custom_types ); -
apply_filters( 'yith_wccl_get_custom_tax_types', array( 'colorpicker' => __( 'Colorpicker', 'yith-color-and-label-variations-for-woocommerce' ), 'image' => __( 'Image', 'yith-color-and-label-variations-for-woocommerce' ), 'label' => __( 'Label', 'yith-color-and-label-variations-for-woocommerce' ), ) ); -
yith_wccl_get_term_meta
filterapply_filters( 'yith_wccl_get_term_meta', true, $term_id );
Generated from YITH Color and Label Variations for WooCommerce'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: