YITH WooCommerce Ajax Search 2.30.1 has 42 actions and 208 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 Ajax Search fires an action
add_action( 'yith_plugin_fw_loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value YITH WooCommerce Ajax Search is about to use
add_filter( 'plugin_locale', function( $locale, $arg2 ) {
// Change $locale here.
return $locale;
}, 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
-
/** * APPLY_FILTERS: plugin_locale */ apply_filters( 'plugin_locale', $locale, 'yith-woocommerce-ajax-search' ); -
__experimental_yith_ajax_search_blocks_add_data_attributes_to_namespace
filter Copy link Customise this hook/** * Filters the list of allowed block namespaces. */ apply_filters( '__experimental_yith_ajax_search_blocks_add_data_attributes_to_namespace', array() ); -
__experimental_yith_ajax_search_blocks_blocks_add_data_attributes_to_block
filter Copy link Customise this hook/** * Filters the list of allowed Block Names */ apply_filters( '__experimental_yith_ajax_search_blocks_blocks_add_data_attributes_to_block', array() ); -
/** * 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 ); -
/** * Filters the list of script dependencies. */ apply_filters( 'ywcas_blocks_register_script_dependencies', $script_data['dependencies'], $handle ); -
/** * APPLY_FILTERS: ywcas_general_options_tab */ apply_filters( 'ywcas_general_options_tab', $general_tab ); -
/** * APPLY_FILTERS: ywcas_get_scripts_data */ apply_filters( 'ywcas_get_scripts_data', $params, $handle ); -
/** * APPLY_FILTERS: ywcas_ids_fetch_limit */ apply_filters( 'ywcas_ids_fetch_limit', 0 ); -
/** * APPLY_FILTERS: ywcas_search_fields_options_tab */ apply_filters( 'ywcas_search_fields_options_tab', $search_fields_tab ); -
/** * APPLY_FILTERS: ywcas_search_fields_type */ apply_filters( 'ywcas_search_fields_type', array( 'name' => _x( 'Product name', '[Admin]search field type', 'yith-woocommerce-ajax-search' ), 'description' => _x( 'Description', '[Admin]search field type', 'yith-woocommerce-ajax-search' ), 'summary' => _x( 'Short description', '[Admin]search field type', 'yith-woocommerce-ajax-search' ), ) ); -
/** * Main Filter to validate all results */ apply_filters( 'ywcas_search_result_data', array_values( $search_result_data ), $query_string, $post_type, $lang ); -
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( 'wpml_object_id', $term_id, $taxonomy, true, $language_code ); -
apply_filters( 'yith_plugin_fw_wc_panel_screen_ids_for_assets', array() ); -
apply_filters( 'the_content', $content ); -
apply_filters( 'wpml_permalink', $result['url'], substr( $result['lang'], 0, 2 ) ); -
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 ); -
apply_filters( 'yith_wcas_ajax_search_products_post_type', esc_attr( $post_type ) ); -
apply_filters( 'yith_wcas_ajax_search_products_search_query', ! empty( $_REQUEST['query'] ) ? trim( sanitize_text_field( $_REQUEST['query'] ) ) : '' ); -
apply_filters( 'yith_wcas_form_cat_args', array( 'hide_empty' => true, 'orderby' => 'name', 'order' => 'ASC', ) ); -
apply_filters( 'yith_wcas_search_posts_per_page', get_option( 'yith_wcas_posts_per_page' ) ); -
apply_filters( 'yith_wcas_suggestion', array( 'id' => $product->get_id(), 'value' => wp_strip_all_tags( $product->get_title() ), 'url' => $product->get_permalink(), ), $product ); -
apply_filters( 'yith_wcas_suggestion_end', $suggest, $product ); -
do_action( 'deprecated_hook_run', $hook, $replacement, $version, $message ); -
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( 'widget_title', $title, $instance, $this->id_base ); -
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( 'wpml_active_languages', null, 'orderby=id&order=desc' ); -
do_action( 'wpml_add_language_form_field' ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_element_language_details', null, array( 'element_id' => $term_id, 'element_type' => $taxonomy, ) ); -
apply_filters( 'wpml_post_language_details', null, $post_id ); -
do_action( 'wpml_register_single_string', $context, $name, $value ); -
apply_filters( 'wpml_translate_single_string', $default_value, $context, $name ); -
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_ajax_search_change_where', true ); -
apply_filters( 'yith_ajax_search_change_where_array', $where_array ); -
apply_filters( 'yith_ajax_search_use_and_for_sku', isset( $sitepress ) ); -
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_wc_plugin_panel_current_tab', parent::get_current_tab() ); -
apply_filters( 'yith_wcas_ajax_lower_search_query', $this->search_string, $this->search_string ); -
apply_filters( 'yith_wcas_ajax_search_icon', '' ); -
apply_filters( 'yith_wcas_ajax_search_products_posts_per_page', (int) $this->search_options['posts_per_page'] + 1 ); -
apply_filters( 'yith_wcas_apply_orderby_filter', true, $args ); -
apply_filters( 'yith_wcas_autoload_mapped_files', $mapped_class ); -
apply_filters( 'yith_wcas_clear_content', $clean_content, $content ); -
apply_filters( 'yith_wcas_data_index_data', $this->data ); -
apply_filters( 'yith_wcas_data_index_loockup_formatted_product', $formatted_product, $data ); -
apply_filters( 'yith_wcas_data_index_post_status_filter', $status ); -
apply_filters( 'yith_wcas_enable_autocomplete', true ); -
apply_filters( 'yith_wcas_filter_by_post_type', ' FIELD(' . $wpdb->posts . '.post_type, ' . $post_type_order . ') ASC, ', $s, $search_terms ); -
apply_filters( 'yith_wcas_force_fuzzy_search', empty( $search_result_data ) && 'yes' === ywcas()->settings->get_enable_search_fuzzy() ); -
apply_filters( 'yith_wcas_hide_out_of_stock', get_option( 'yith_wcas_hide_out_of_stock', 'no' ) ); -
apply_filters( 'yith_wcas_panel_capability', 'manage_options' ); -
apply_filters( 'yith_wcas_search_by_author', get_option( 'yith_wcas_search_in_author' ) ); -
apply_filters( 'yith_wcas_search_by_sku', get_option( 'yith_wcas_search_by_sku' ) ); -
apply_filters( 'yith_wcas_search_by_sku_variations', get_option( 'yith_wcas_search_by_sku_variations' ) ); -
apply_filters( 'yith_wcas_search_fields_saved_option', $option, $field ); -
apply_filters( 'yith_wcas_search_for_taxonomy', false ); -
apply_filters( 'yith_wcas_search_in_content', get_option( 'yith_wcas_search_in_content' ) ); -
apply_filters( 'yith_wcas_search_in_excerpt', get_option( 'yith_wcas_search_in_excerpt' ) ); -
apply_filters( 'yith_wcas_search_in_product_brands', get_option( 'yith_wcas_search_in_product_brands' ) ); -
apply_filters( 'yith_wcas_search_in_product_categories', get_option( 'yith_wcas_search_in_product_categories' ) ); -
apply_filters( 'yith_wcas_search_in_product_tags', get_option( 'yith_wcas_search_in_product_tags' ) ); -
apply_filters( 'yith_wcas_search_in_title', get_option( 'yith_wcas_search_in_title', 'yes' ) ); -
apply_filters( 'yith_wcas_search_in_vendors', get_option( 'yith_wcas_search_in_vendor' ) ); -
apply_filters( 'yith_wcas_search_meta_key', $ordering_args['meta_key'] ); -
apply_filters( 'yith_wcas_search_order', $ordering_args['order'] ); -
apply_filters( 'yith_wcas_search_orderby', $ordering_args['orderby'] ); -
apply_filters( 'yith_wcas_search_params', array( 'search_by_title' => apply_filters( 'yith_wcas_search_in_title', get_option( 'yith_wcas_search_in_title', 'yes' ) ), 'search_by_excerpt' => apply_filters( 'yith_wcas_search_in_excerpt', get_option( 'yith_wcas_search_in_excerpt' ) ), 'search_by_content' => apply_filters( 'yith_wcas_search_in_content', get_option( 'yith_wcas_search_in_content' ) ), 'search_by_cat' => apply_filters( 'yith_w... ); -
apply_filters( 'yith_wcas_search_reverse', false ); -
apply_filters( 'yith_wcas_search_string_before_manipulation', $search_query ); -
apply_filters( 'yith_wcas_search_string_manipulation', $string ); -
apply_filters( 'yith_wcas_search_taxonomy_terms', $terms ); -
apply_filters( 'yith_wcas_search_where', $where, $this->search_string ); -
apply_filters( 'yith_wcas_search_with_like', false ); -
apply_filters( 'yith_wcas_stop_words', $stopwords, $lang ); -
apply_filters( 'yith_wcas_stop_words_path', YITH_WCAS_DIR . 'languages/stopwords/' . $lang ); -
apply_filters( 'yith_wcas_suggestions', $suggestions ); -
apply_filters( 'yith_wcas_thumbnail_size', 'shop_thumbnail' ); -
apply_filters( 'yith_wcas_tokenizer_regex', $this->regex ); -
apply_filters( 'ywcas_add_to_cart_label', __( 'Add to cart', 'yith-woocommerce-ajax-search' ) ); -
apply_filters( 'ywcas_additional_data_to_tokenizer', $additional_fields, $data, $lang ); -
apply_filters( 'ywcas_admin_tabs', $admin_tabs ); -
apply_filters( 'ywcas_ajax_url', $ajax_url ); -
do_action( 'ywcas_before_do_the_request' ); -
apply_filters( 'ywcas_block_common_localize', array( 'ajaxURL' => WC_AJAX::get_endpoint( '%%endpoint%%' ), 'ajaxNonce' => wp_create_nonce( 'yith_search_rest' ), 'wcData' => $this->get_wc_data(), 'ywcasBuildBlockURL' => YITH_WCAS_ASSETS_URL . '/js/blocks/build/', 'siteURL' => get_home_url(), 'lang' => ywcas_get_current_language(), 'addToCartLabel' => apply_filters( 'ywcas_add_to_cart_label', __( 'Add to cart', 'yith-woocommerce-ajax-search'... ); -
apply_filters( 'ywcas_can_be_scheduled', $can_be_scheduled, $post ); -
apply_filters( 'ywcas_custom_option_types', array( 'search-fields', 'ywcas-slider', 'ywcas-synonymous', 'ywcas-index', ) ); -
apply_filters( 'ywcas_data_index_formatted_data', $import_data, $data ); -
apply_filters( 'ywcas_disable_search_input_options', array() ); -
apply_filters( 'ywcas_dot_list', array( '.', ';', '_', ',' ) ); -
apply_filters( 'ywcas_elementor_blocks', $blocks ); -
apply_filters( 'ywcas_extend_to_sku_before_query', $args, $this->search_string ); -
apply_filters( 'ywcas_get_default_details_to_show', array( 'name', 'image', 'price' ) ); -
apply_filters( 'ywcas_get_shortcode_list', $this->get( 'shortcodes_list', $this->get_default_shortcode_args() ) ); -
apply_filters( 'ywcas_get_synonyms', $additional_content, $content, $lang ); -
apply_filters( 'ywcas_gutenberg_blocks', array( 'yith-woocommerce-ajax-search' => array( 'title' => _x( 'Ajax Search[Deprecated]', '[gutenberg]: block name', 'yith-woocommerce-ajax-search' ), 'description' => _x( 'Show Ajax Search Form', '[gutenberg]: block description', 'yith-woocommerce-ajax-search' ), 'shortcode_name' => 'yith_woocommerce_ajax_search', 'do_shortcode' => false, 'keywords' => array( _x( 'Ajax Search', '[gutenberg]: k... ); -
apply_filters( 'ywcas_index_custom_taxonomies', array(), $product ); -
apply_filters( 'ywcas_max_fuzzy_tokens', $this->fuzzy_max_tokens ); -
apply_filters( 'ywcas_mobile_break_point', '600px' ); -
apply_filters( 'ywcas_parse_search_order', $search_orderby, $s, $search_terms ); -
apply_filters( 'ywcas_product_data_index_tax_query', $tax_query ); -
apply_filters( 'ywcas_product_type_list', $product_types ); -
apply_filters( 'ywcas_read_more_label', _x( 'Read more', 'add to cart label for not purchasable products', 'yith-woocommerce-ajax-search' ) ); -
apply_filters( 'ywcas_register_not_results_query', true ); -
apply_filters( 'ywcas_register_panel_arguments', array( 'create_menu_page' => true, 'parent_slug' => '', 'page_title' => $this->get_product_name(), 'menu_title' => 'Ajax Search', 'capability' => apply_filters( 'yith_wcas_panel_capability', 'manage_options' ), 'parent' => '', 'parent_page' => 'yith_plugin_panel', 'page' => $this->panel_page, 'admin-tabs' => $this->get_admin_tabs(), 'class' => yith_set_wrapper_class(), 'options-path' => YITH_WC... ); -
apply_filters( 'ywcas_search_fields', $search_fields ); -
apply_filters( 'ywcas_search_for_sound', false !== strpos( $lang, 'en_' ) ); -
do_action( 'ywcas_search_input_field_template_conditions', $curr_id, $field ); -
do_action( 'ywcas_search_input_field_template_list', $curr_id, $field ); -
apply_filters( 'ywcas_search_sku_by', 'LIKE' ); -
apply_filters( 'ywcas_searching_result_data', $search_result_data, $query_string, $lang, $post_type, $category ); -
apply_filters( 'ywcas_select_options_label', _x( 'Select options', 'add to cart label for variable products', 'yith-woocommerce-ajax-search' ) ); -
apply_filters( 'ywcas_show_not_visible', false, $product ); -
apply_filters( 'ywcas_skip_post_index_delete', ! $post_id, $post_id ); -
apply_filters( 'ywcas_skip_post_index_update', ! $post_id, $post_id, $object ); -
apply_filters( 'ywcas_store_search_query', true ); -
apply_filters( 'ywcas_user_switch_block', get_option( 'ywcas_user_switch_to_block', false ) ); -
apply_filters( 'ywcas_wpml_get_translated_terms_list', $terms, 'product_cat', $lang ); -
apply_filters( 'ywcas_wpml_get_translated_terms_list_by_term_name', $tags, 'product_tag', ywcas_get_language( $product->get_id( 'edit' ) ) ); -
apply_filters( 'ywrac_results', get_posts( $args ), $this->search_string );
Generated from YITH WooCommerce Ajax Search'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: