Sieve 1.3.5 has 3 actions and 12 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 Sieve fires an action
add_action( 'sieve/booted', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value Sieve is about to use
add_filter( 'sieve_facet_body', function( $value, $facet, $counts, $selected, $bounds ) {
// Change $value here.
return $value;
}, 10, 5 );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
-
/** * Filters the HTML body of one facet before the default renderer runs. */ apply_filters( 'sieve_facet_body', null, $facet, $counts, $selected, $bounds ); -
/** * Filters the auto-discovered facet sources for the admin builder. */ apply_filters( 'sieve_facet_catalog', $sources ); -
/** * Filters the facet type options exposed in the admin builder. */ apply_filters( 'sieve_facet_types', $types ); -
/** * Filters the facet list before render and resolution. */ apply_filters( 'sieve_facets', $facets, $context ); -
/** * Filters the index rows of one product before they are written. */ apply_filters( 'sieve_index_rows', $rows, $product ); -
/** * Filters the label of one value of a meta field facet, shown in its options * and in the active chip ("min-max" for a range facet). Return plain text; it * is escaped on output. */ apply_filters( 'sieve_meta_value_label', $value, $facet, $value ); -
/** * Filters product IDs for a search term before the built-in index resolver * runs. */ apply_filters( 'sieve_search_product_ids', null, $term, $tokens ); -
/** * Fires after Sieve has booted. The PRO plugin extends Sieve here. */ do_action( 'sieve/booted', $this ); -
/** * Filters the URL the "Upgrade to PRO" buttons point at. */ apply_filters( 'sieve/pro_url', $default ); -
/** * Filters whether the Sieve PRO promo is shown on the admin screen. */ apply_filters( 'sieve/show_pro_cta', true ); -
apply_filters( 'sieve_settings', [ 'facets' => is_array($stored['facets']) ? $this->normalizeFacets($stored['facets']) : [], 'per_page' => isset($stored['per_page']) ? max(1, (int) $stored['per_page']) : 12, 'columns' => isset($stored['columns']) ? max(1, (int) $stored['columns']) : 3, 'appearance' => isset($stored['appearance']) && is_array($stored['appearance']) ? $this->appearance->normalize($stored['appearance']) : $this->... ); -
apply_filters( 'sieve_index_batch_size', self::BATCH_SIZE ); -
apply_filters( 'sieve_search_resolve_cap', self::RESOLVE_CAP ); -
do_action( 'woocommerce_after_shop_loop' ); -
do_action( 'woocommerce_before_shop_loop' );
Generated from Sieve'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: