YITH WooCommerce Product Add-Ons 4.35.2 has 46 actions and 234 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 Product Add-Ons fires an action
add_action( 'yith_plugin_fw_loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value YITH WooCommerce Product Add-Ons is about to use
add_filter( 'yith_wapo_block_list_columns', function( $columns ) {
// Change $columns here.
return $columns;
}, 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
-
/** * 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 ); -
/** * Action after printing all the add-ons */ do_action( 'yith_wapo_after_addons', $blocks ); -
/** * Action before printing all the add-ons */ do_action( 'yith_wapo_before_addons', $blocks ); -
/** * APPLY_FILTERS: yith_wapo_block_list_columns */ apply_filters( 'yith_wapo_block_list_columns', $columns ); -
/** * APPLY_FILTERS: yith_wapo_block_list_output_column */ apply_filters( 'yith_wapo_block_list_output_column', $output, $column_name, $block_id ); -
/** * APPLY_FILTERS: yith_wapo_blocks_list_filter_status */ apply_filters( 'yith_wapo_blocks_list_filter_status', array( 'all' => esc_html__( 'All status', 'yith-woocommerce-product-add-ons' ), 'enabled' => esc_html__( 'Enabled', 'yith-woocommerce-product-add-ons' ), 'disabled' => esc_html__( 'Disabled', 'yith-woocommerce-product-add-ons' ), ) ); -
/** * APPLY_FILTERS: yith_wapo_blocks_list_per_page */ apply_filters( 'yith_wapo_blocks_list_per_page', 10 ); -
/** * APPLY_FILTER: yith_wapo_get_addon_'. $option. '_settings */ apply_filters( "yith_wapo_get_addon_{$option}_settings", $value, $option, $default ); -
/** * APPLY_FILTER: 'yith_wapo_option_' . $this->id . '_' . $index . '_price_html' */ apply_filters( "yith_wapo_option_{$this->id}_{$index}_price_html", $html_price ); -
/** * APPLY_FILTER: yith_wapo_option_price_html */ apply_filters( 'yith_wapo_option_price_html', $html_price, $option_price, $option_price_sale ); -
apply_filters( 'yith_wapo_get_original_product_id', $product->get_id() ); -
apply_filters( 'wpml_default_language', NULL ); -
apply_filters( 'wpml_object_id', $id, 'product_cat', true, $default_language ); -
apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap', $option_key ); -
apply_filters( 'yit_admin_panel_form_method', 'POST', $option_key ); -
apply_filters( 'yit_title_special_characters', array() ); -
apply_filters( 'yith_wapo_hide_option_prices', $hide_option_prices, $addon ); -
apply_filters( 'plugin_locale', determine_locale(), $domain ); -
apply_filters( 'wpml_current_language', NULL ); -
apply_filters( 'yith_plugin_fw_wc_panel_screen_ids_for_assets', array() ); -
apply_filters( 'yith_wapo_remove_spaces', false ); -
apply_filters( 'the_content', $content ); -
do_action( 'wpml_register_single_string', $context, $name, $value ); -
apply_filters( 'wpml_translate_single_string', $label, YITH_WAPO_WPML_CONTEXT, $name_slug, $current_language ); -
do_action( 'yit_framework_after_print_wc_panel_content', $option_key ); -
do_action( 'yit_framework_before_print_wc_panel_content', $option_key ); -
apply_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_wapo_cart_addon_product_not_enough_stock_already_in_cart_message
filter Copy link Customise this hookapply_filters( 'yith_wapo_cart_addon_product_not_enough_stock_already_in_cart_message', $message, $product, $stock_quantity, $stock_quantity_in_cart ); -
apply_filters( 'yith_wapo_cart_addon_product_not_enough_stock_in_cart_message', $message, $product ); -
apply_filters( 'yith_wapo_cart_addon_product_not_enough_stock_message', $message, $product, $stock_quantity ); -
apply_filters( 'yith_wapo_cart_addon_product_out_of_stock_message', $message, $product ); -
apply_filters( 'yith_wapo_db_migration_limit', 10 ); -
apply_filters( 'yith_wapo_exclude_global', get_post_meta( $product->get_id(), '_wapo_disable_global', true ) === 'yes' ? 1 : 0 ); -
apply_filters( 'yith_wapo_price_sign', $sign ); -
apply_filters( 'yith_wapo_product_price_on_cart', $product_price, $_product, $cart_item, false ); -
apply_filters( 'yith_wapo_show_options_grouped_in_cart', true ); -
apply_filters( 'yith_wapo_wcmcs_convert_price_args', array() ); -
apply_filters( 'formatted_woocommerce_price', number_format( $price, $decimals, $decimal_separator, $thousand_separator ), $price, $decimals, $decimal_separator, $thousand_separator ); -
apply_filters( 'raw_woocommerce_price', floatval( $negative ? $price * -1 : $price ) ); -
apply_filters( 'the_excerpt', $content ); -
apply_filters( 'wc_price', $return, $price, $args ); -
apply_filters( 'wc_price_args', $args ); -
apply_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" ); -
do_action( 'wp_loaded' ); -
apply_filters( 'yih_wapo_cart_item_quantity', $cart_item['quantity'], $cart_item ); -
do_action( 'yit_after_add_settings_page' ); -
do_action( 'yit_after_metaboxes_labels' ); -
do_action( 'yit_after_metaboxes_tab' ); -
do_action( "yit_before_metabox_option_{urldecode($key)}" ); -
do_action( 'yit_before_metaboxes_labels' ); -
do_action( 'yit_before_metaboxes_tab' ); -
apply_filters( 'yit_body_backgrounds', self::$config['body_backgrounds'] ); -
apply_filters( 'yit_framework_show_float_save_button', true ); -
apply_filters( 'yit_fw_metaboxes_type_args', array( 'basename' => YIT_CORE_PLUGIN_PATH, 'path' => '/metaboxes/types/', 'type' => $field['type'], 'args' => array( 'args' => $field ), ) ); -
apply_filters( 'yit_header_backgrounds', self::$config['header_backgrounds'] ); -
apply_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' ); -
apply_filters( 'yit_pagination_html', $html ); -
do_action( "yit_panel_{$field['type']}", $field, $db_value ); -
do_action( "yit_panel_{$option['type']}", $option, $db_value, $custom_attributes ); -
do_action( 'yit_panel_wc_after_reset' ); -
do_action( 'yit_panel_wc_after_update' ); -
do_action( 'yit_panel_wc_before_reset' ); -
do_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 ); -
apply_filters( "yit_pointers-{$screen_id}", array() ); -
apply_filters( "yit_pointers-{$screen->id}", array() ); -
apply_filters( 'yit_simple_read_more_classes', ' ' ); -
apply_filters( 'yit_video_vimeo', $html ); -
apply_filters( 'yit_video_youtube', $html ); -
apply_filters( 'yit_wc_deprecated_filters', $filters ); -
apply_filters( 'yit-pointer-special-screen', array( 'plugins', 'update' ) ); -
apply_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 ); -
apply_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'] ); -
apply_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 ); -
yith_plugin_fw_icons_field_icons_{sanitize_key($filter_suffix)}
filter Copy link Customise this hookapply_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 ); -
apply_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 ); -
apply_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 ); -
apply_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 ); -
apply_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 ); -
apply_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 ); -
apply_filters( 'yith_show_plugin_row_meta', array( 'to_show' => $to_show, 'slug' => '', ), $plugin_meta, $plugin_file, $plugin_data, $status ); -
apply_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... ); -
apply_filters( 'yith_system_generic_message', '', $key, $item, $label ); -
apply_filters( 'yith_system_status_check_ip', true ); -
apply_filters( 'yith_system_status_check_ssl', true ); -
apply_filters( 'yith_system_status_enable_phpinfo', true ); -
apply_filters( 'yith_system_status_server_cron', false ); -
apply_filters( 'yith_toggle_elements_index', $i++, $key ); -
apply_filters( 'yith_wapo_add_cart_item_data', $cart_item_data, $product_id, $post_data ); -
apply_filters( 'yith_wapo_add_item_data_check', true ); -
apply_filters( 'yith_wapo_add_parent_addon_conditional_logic', false ); -
apply_filters( 'yith_wapo_additional_replace_image_path', '' ); -
apply_filters( 'yith_wapo_addon_arg', array( 'addon' => $addon, 'x' => $x, 'setting_hide_images' => $setting_hide_images, 'required_message' => $required_message, 'settings' => $settings, 'option_description' => $option_description, 'addon_image_position' => $addon_image_position, 'option_image' => is_ssl() ? str_replace( 'http://', 'https://', $option_image ) : $option_image, 'default_price' => $default_price, 'default_sale_price'... ); -
apply_filters( 'yith_wapo_addon_classes', 'yith-wapo-addon yith-wapo-addon-type-' . esc_attr( $addon_type ) . ' ' . esc_attr( $toggle_addon ) . ' ' . esc_attr( $toggle_default ) . ' ' . esc_attr( $toggle_status ) . ' ' . esc_attr( $conditional_logic_class ) . ' ' . esc_attr( 'yes' === $sell_individually ? 'sell_individually' : '' ) . ' ' . esc_attr( $is_numbers_min_max_enabled ? 'numbers-check' : '' ) . ' ' . esc_attr( '' === $addon_ti... ); -
apply_filters( 'yith_wapo_addon_display_on_cart', $display, $value, $sign, $price, $regular_price, $sale_price, $addon_id, $option_id ); -
apply_filters( 'yith_wapo_addon_display_title', wp_kses_post( $addon_title ), $addon_title ); -
apply_filters( 'yith_wapo_addon_html_args', array( 'addon' => $addon, 'settings' => $settings, ), $addon ); -
apply_filters( 'yith_wapo_addon_option_in_order_items', $formatted_meta, $order_item, $this ); -
apply_filters( 'yith_wapo_addon_price', $addon_price, $addon_id, $option_id, $key, $value, $cart_item, $product_price ); -
apply_filters( 'yith_wapo_addon_prices_as_order_item', $option_price ); -
apply_filters( 'yith_wapo_addon_prices_on_bundle_cart_item', $option_price ); -
apply_filters( 'yith_wapo_addon_prices_on_cart', $option_price ); -
apply_filters( 'yith_wapo_addon_product_id', $product_id ); -
apply_filters( 'yith_wapo_addon_select_args', array( 'addon' => $addon, 'setting_hide_images' => $setting_hide_images, 'required_message' => $required_message, 'settings' => $settings, 'options_total' => $options_total, 'options_width_select_css' => $options_width_select_css, 'currency' => $currency, 'product' => $product ), $addon ); -
apply_filters( 'yith_wapo_addon_select_option_args', array( 'addon' => $addon, 'x' => $x, 'setting_hide_images' => $setting_hide_images, 'required_message' => $required_message, 'settings' => $settings, 'option_image' => is_ssl() ? str_replace( 'http://', 'https://', $option_image ) : $option_image, 'default_price' => $default_price, 'default_sale_price' => $default_sale_price, 'price' => $price, 'price_method' => $price_method, 'price_sale' => $... ); -
apply_filters( 'yith_wapo_addon_title_on_editor', $addon->get_setting( 'title' ) ? $addon->get_setting( 'title' ) . ' - ' : '', $addon ); -
apply_filters( 'yith_wapo_addon_value_as_order_item', $addon_value, $key ); -
apply_filters( 'yith_wapo_addon_value_on_cart', $addon_value, $key ); -
apply_filters( 'yith_wapo_addons_by_block_id', $addons, $block_id ); -
apply_filters( 'yith_wapo_addons_settings_required', $addon_required, $addon ); -
apply_filters( 'yith_wapo_admin_addons', $addons ); -
do_action( 'yith_wapo_admin_after_addon_title', $addon ); -
apply_filters( 'yith_wapo_admin_localize_args', $admin_localize ); -
apply_filters( 'yith_wapo_admin_panel_tabs', array(), $capability ); -
do_action( 'yith_wapo_after_add_order_item_meta', $item_id, $cart_item, $index, $key, $value ); -
do_action( 'yith_wapo_after_main_container' ); -
apply_filters( 'yith_wapo_allowed_product_types', true, $not_allowed_product_types ); -
apply_filters( 'yith_wapo_apply_urldecode', true ); -
apply_filters( 'yith_wapo_aux_db_migration_limit', 30 ); -
apply_filters( 'yith_wapo_aux_db_migration_offset_sum', 30 ); -
do_action( 'yith_wapo_before_main_container' ); -
apply_filters( 'yith_wapo_before_print_block', true, $block_id ); -
apply_filters( 'yith_wapo_block_classes', 'yith-wapo-block', $block ); -
apply_filters( 'yith_wapo_block_priority_field_args', array( 'id' => 'block-priority', 'type' => 'number', 'name' => 'block_priority', 'value' => esc_attr( round( $block_priority ) ), 'min' => 0, 'max' => 9999 ), $block_priority ); -
apply_filters( 'yith_wapo_blocks_product_price', $blocks_product_price, $product, $variation ); -
apply_filters( 'yith_wapo_calculate_addons_price_in_cart', false, $cart_item ); -
apply_filters( 'yith_wapo_cart_data', $cart_data, $cart_item ); -
apply_filters( 'yith_wapo_cart_item_meta_data', $cart_item, $index, $key, $value ); -
apply_filters( 'yith_wapo_cart_item_meta_data_addon_key', 'ywapo-addon-' . $addon_id . '-' . $option_id, $cart_item, $addon_name ); -
apply_filters( 'yith_wapo_cart_options_array', $cart_settings ); -
apply_filters( 'yith_wapo_check_for_missing_meta_data', true ); -
apply_filters( 'yith_wapo_color_label_variations_options', array( 'settings-color-label-variations' => array( array( 'title' => __( 'Manage variations', 'yith-woocommerce-product-add-ons' ), 'type' => 'title', 'desc' => '', 'id' => 'yith-wccl-general-options', ), array( 'title' => __( 'Attribute behavior', 'yith-woocommerce-product-add-ons' ), 'desc' => __( 'Choose attribute style after selection.', 'yith-woocommerce-product-add-ons' ), 'id' => 'yith-w... ); -
apply_filters( 'yith_wapo_conditional_display_effect', 'fade' ); -
apply_filters( 'yith_wapo_conditional_logic_variation_data', array( 'action' => 'woocommerce_json_search_products_and_variations', 'security' => wp_create_nonce( 'search-products' ), 'exclude_type' => implode( ',', array_keys( wc_get_product_types() ) ), 'include' => wp_json_encode( $selected_products ), 'placeholder' => esc_html__( 'Search for a variation...', 'yith-woocommerce-product-add-ons' ), 'limit' => apply_filters( 'yith_wapo_conditional_logic_v... ); -
apply_filters( 'yith_wapo_conditional_logic_variations_limit', 30 ); -
apply_filters( 'yith_wapo_conditional_rule_addon', (array) $conditional_rule_addon ); -
apply_filters( 'yith_wapo_conditional_rule_variation', (array) $addon->get_setting( 'conditional_rule_variations' ) ); -
apply_filters( 'yith_wapo_convert_price', wc_get_price_to_display( $product ), true, $product ); -
apply_filters( 'yith_wapo_custom_inline_styles', $css ); -
apply_filters( 'yith_wapo_enqueue_front_scripts', true ); -
apply_filters( 'yith_wapo_frontend_localize_args', $front_localize ); -
apply_filters( 'yith_wapo_general_options_array', $general_settings ); -
apply_filters( 'yith_wapo_get_addon_price', trim( $price ), false, $price_method, $price_type, $this ); -
apply_filters( 'yith_wapo_get_addon_sale_price', trim( $sale_price ), false, $price_method, $price_type, $this ); -
apply_filters( 'yith_wapo_get_addon_tabs', $tabs, $addon_id, $addon_type ); -
apply_filters( 'yith_wapo_get_addon_value_on_cart', $value, $addon_id, $option_id, $key, $original_value, $cart_item ); -
apply_filters( 'yith_wapo_get_attributes', $attributes ); -
apply_filters( 'yith_wapo_get_blocks_by_parent_category', true ); -
apply_filters( 'yith_wapo_get_blocks_by_product', $blocks, $product, $variation, $visible ); -
apply_filters( 'yith_wapo_get_blocks_by_product_set_vendor', array( 0 ), $product ); -
apply_filters( 'yith_wapo_get_blocks_conditions', $query_args ); -
apply_filters( 'yith_wapo_get_currency_rate', $currency_rate, $type ); -
apply_filters( 'yith_wapo_get_default_variation_price_calculation', true ); -
apply_filters( 'yith_wapo_get_formatted_settings', $formatted_settings ); -
apply_filters( 'yith_wapo_get_option', $option_to_return, $option ); -
apply_filters( 'yith_wapo_get_original_category_ids', $product->get_category_ids(), $product, apply_filters( 'yith_wapo_addon_product_id', $product_id ) ); -
apply_filters( 'yith_wapo_get_product_price_excluding_tax', true ); -
apply_filters( 'yith_wapo_get_term_meta', true, $term_id ); -
apply_filters( 'yith_wapo_get_total_by_add_ons_list', $total_price, $type_list, $cart_item ); -
apply_filters( 'yith_wapo_hide_order_price_if_zero', false ); -
apply_filters( 'yith_wapo_include_shortcode_price_suffix', wc_tax_enabled() && ( strpos(get_option( 'woocommerce_price_display_suffix', '' ), '{price_including_tax}') !== false || strpos(get_option( 'woocommerce_price_display_suffix', '' ), '{price_excluding_tax}') !== false ) ); -
apply_filters( 'yith_wapo_loader_gif', YITH_WAPO_ASSETS_URL . '/img/loader.gif' ); -
do_action( 'yith_wapo_migrated' ); -
apply_filters( 'yith_wapo_option_on_cart', false, $option, $value ); -
apply_filters( 'yith_wapo_option_on_order', false, $option, $value ); -
apply_filters( 'yith_wapo_option_price', $option_price ); -
apply_filters( 'yith_wapo_option_price_sale', $option_price_sale ); -
do_action( 'yith_wapo_options_before_add_image', $addon, $x, $addon_type ); -
apply_filters( 'yith_wapo_order_item_meta_name_default', _x( 'Option', '[FRONT] Show it in the cart page if the add-on has not a label set', 'yith-woocommerce-product-add-ons' ), $index, $item_id, $cart_item ); -
apply_filters( 'yith_wapo_panel_blocks_options', $blocks ); -
apply_filters( 'yith_wapo_panel_settings_options', $settings ); -
apply_filters( 'yith_wapo_panel_style_options', $style ); -
apply_filters( 'yith_wapo_prevent_ajax_call_on_unchanged_totals', true ); -
apply_filters( 'yith_wapo_price_methods', $price_methods, $addon ); -
apply_filters( 'yith_wapo_price_options', $price_options, $addon ); -
apply_filters( 'yith_wapo_print_blocks_currency', $_POST['currency'] ?? false ); -
apply_filters( 'yith_wapo_priority_on_column_default', esc_html( round( $priority ) ), $priority ); -
apply_filters( 'yith_wapo_product_name_in_cart', $option_product_qty . ' x ' . $product_name, $option_product, $option_product_qty, $cart_item ); -
apply_filters( 'yith_wapo_product_price', yit_get_display_price( $product ), $product ); -
apply_filters( 'yith_wapo_product_quantity_selector', 'form.cart .quantity input.qty:not(.wapo-product-qty)' ); -
apply_filters( 'yith_wapo_reduce_conditional_option_name', true ); -
apply_filters( 'yith_wapo_register_panel_args', $args ); -
apply_filters( 'yith_wapo_register_panel_capabilities', 'manage_woocommerce' ); -
apply_filters( 'yith_wapo_replace_product_price_class', esc_attr( $product_class ) ); -
apply_filters( 'yith_wapo_save_addon_settings', $settings, $request ); -
apply_filters( 'yith_wapo_select_option_disabled', false, $addon, $x ); -
apply_filters( 'yith_wapo_select_option_label', __( 'Select an option', 'yith-woocommerce-product-add-ons' ) ); -
apply_filters( 'yith_wapo_show_attached_file_name', true ); -
apply_filters( 'yith_wapo_show_id_in_conditional_addon_title', false ); -
apply_filters( 'yith_wapo_show_in_products_limit', 30 ); -
do_action( 'yith_wapo_show_options_shortcode' ); -
apply_filters( 'yith_wapo_show_total_price_box', $show_total_price_box, $product, $variation ); -
apply_filters( 'yith_wapo_table_hide_total_order', true ); -
apply_filters( 'yith_wapo_table_order_total_label', __( 'Order total', 'yith-woocommerce-product-add-ons' ) ); -
apply_filters( 'yith_wapo_table_product_price_label', __( 'Product price', 'yith-woocommerce-product-add-ons' ) ); -
apply_filters( 'yith_wapo_table_total_options_label', __( 'Total options', 'yith-woocommerce-product-add-ons' ) ); -
apply_filters( 'yith_wapo_total_item_price', $cart_item_price + $total_options_price, $cart_item ); -
apply_filters( 'yith_wapo_totals_price_args', array( 'currency' => $currency ) ); -
apply_filters( 'yith_wapo_totals_product_price', floatval( $product->get_price() ?? 0 ), $product ); -
apply_filters( 'yith_wapo_update_412_offset', 40 ); -
apply_filters( 'yith_wapo_update_image_option_limit', 40 ); -
apply_filters( 'yith_wc_plugin_panel_current_tab', parent::get_current_tab() );
Generated from YITH WooCommerce Product Add-Ons'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: