SpeedSearch 1.8.36 has 16 actions and 19 filters, read directly from its source code on Nov 19, 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 SpeedSearch fires an action
add_action( 'woocommerce_archive_description', function() {
// Your code runs here.
}, 10, 1 );
// Change a value SpeedSearch is about to use
add_filter( 'speedsearch_opportunity_to_insert_custom_html_for_ids', function( $data, $posts_ids, $endpoint ) {
// Change $data here.
return $data;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Hook: woocommerce_archive_description. */ do_action( 'woocommerce_archive_description' ); -
/** * Hook: woocommerce_after_main_content. */ do_action( 'woocommerce_after_main_content' ); -
/** * Hook: woocommerce_before_main_content. */ do_action( 'woocommerce_before_main_content' ); -
/** * Hook: flatsome_products_after. */ do_action( 'flatsome_products_after' ); -
/** * Notify listeners of a deleted category, tag or attribute term. */ do_action( "speedsearch_{$type}_deleted", $term_id ); -
/** * Notify listeners of an updated category, tag or attribute term. */ do_action( "speedsearch_{$type}_updated", $term_id ); -
/** * Fires before recently viewed products data is rendered. */ do_action( 'speedsearch_before_render_recently_viewed_products_data', $viewed_products ); -
/** * Allows integrations to attach theme-rendered product HTML. */ apply_filters( 'speedsearch_opportunity_to_insert_custom_html_for_ids', $data, $posts_ids, $endpoint ); -
/** * Filter the page embed data (that will be added to SpeedSearch main object) */ apply_filters( 'speedsearch_page_embed_data', self::$page_embed_data ); -
/** * Filters representative product image IDs for a taxonomy result card. */ apply_filters( 'speedsearch_q_search_term_preview_attachment_ids', $attachment_ids, $term ); -
/** * Filters the taxonomy preview cache lifetime. */ apply_filters( 'speedsearch_q_search_term_preview_cache_expiration', self::CACHE_EXPIRATION, $term ); -
/** * Filters the product query used to build taxonomy preview mosaics. */ apply_filters( 'speedsearch_q_search_term_preview_query_args', $query_args, $terms ); -
/** * Filters the attachment used for a /q tag or attribute result card. */ apply_filters( 'speedsearch_q_search_term_thumbnail_id', $thumbnail_id, $term, $result, $type ); -
/** * Runs native per-product WooCommerce loop behavior. */ do_action( 'woocommerce_shop_loop' ); -
do_action( 'woocommerce_before_shop_loop' ); -
apply_filters( 'loop_shop_per_page', wc_get_default_products_per_row() * wc_get_default_product_rows_per_page() ); -
do_action( 'woocommerce_after_shop_loop' ); -
apply_filters( 'woocommerce_breadcrumb_defaults', array( 'delimiter' => ' / ', 'wrap_before' => '<nav class="woocommerce-breadcrumb">', 'wrap_after' => '</nav>', 'before' => '', 'after' => '', 'home' => _x( 'Home', 'breadcrumb', 'speedsearch' ), ) ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
do_action( 'equipo_enovathemes_title_section' ); -
do_action( 'speedsearch_attribute_deleted', $attribute_id ); -
do_action( 'speedsearch_attribute_term_updated', $object_id ); -
do_action( 'speedsearch_attribute_updated', $attribute_id ); -
apply_filters( 'speedsearch_autocomplete_attribute_data', $the_attribute_data ); -
apply_filters( 'speedsearch_autocomplete_attribute_skip', true, $attribute_data ); -
do_action( 'speedsearch_before_product_cache_print', $this->last_product_id ); -
do_action( 'speedsearch_before_product_print', $post_id ); -
apply_filters( 'speedsearch_filter_request_params', $params, $args ); -
apply_filters( 'speedsearch_filter_server_response_body', $response_body, $endpoint, $args ); -
apply_filters( 'speedsearch_get_sort_by_property_params', $get_sorting_params( $sorting_name ), $sorting_name ); -
apply_filters( 'speedsearch_post_field_content_types', [ 'title' => __( 'Title', 'speedsearch' ), 'price' => __( 'Price', 'speedsearch' ), 'author' => __( 'Author', 'speedsearch' ), 'categories' => __( 'Categories', 'speedsearch' ), 'sku' => __( 'SKU', 'speedsearch' ), ] ); -
apply_filters( 'speedsearch_replace_template', true ); -
apply_filters( 'woocommerce_attribute_taxonomies', $attributes ); -
apply_filters( 'woocommerce_short_description', $product->get_short_description() ); -
apply_filters( 'woocommerce_show_page_title', true );
Generated from SpeedSearch'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: