Dynamic AJAX Product Filters for WooCommerce 1.6.10 has 1 actions and 26 filters, read directly from its source code on Nov 18, 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 Dynamic AJAX Product Filters for WooCommerce fires an action
add_action( 'litespeed_purge_all', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Dynamic AJAX Product Filters for WooCommerce is about to use
add_filter( 'dapfforwc_filter_cache_batch_size', function( $batch_size, $context, $product_count ) {
// Change $batch_size here.
return $batch_size;
}, 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
-
/** * Filters the number of products processed in each background cache batch. */ apply_filters( 'dapfforwc_filter_cache_batch_size', $batch_size, $context, $product_count ); -
/** * Filters the delay before the next background cache batch is scheduled. */ apply_filters( 'dapfforwc_background_cache_batch_delay', $delay, $context, $product_count ); -
/** * Filters how long a background filter-cache build may stay active before a * new build can replace it. */ apply_filters( 'dapfforwc_filter_cache_build_timeout', 6 * HOUR_IN_SECONDS ); -
/** * Filters how long a background cache run may show no progress before it needs * attention. */ apply_filters( 'dapfforwc_filter_cache_stale_after', 30 * MINUTE_IN_SECONDS ); -
/** * Filters the product count where automatic filter cache generation moves to * background batches. */ apply_filters( 'dapfforwc_large_catalog_product_threshold', 5000 ); -
/** * Filters the exchange rate used for the price filter (shopper's currency per * 1 store currency). Return the rate for other currency switchers; 1 keeps * prices in the store currency. */ apply_filters( 'dapfforwc_price_filter_currency_rate', $rate ); -
/** * Filters whether large catalogues should use the database-safe runtime path. */ apply_filters( 'dapfforwc_use_large_catalog_database_mode', dapfforwc_is_large_catalog(), dapfforwc_get_published_product_count() ); -
apply_filters( 'dapfforwc_disable_query_cache', true, $params, $query ); -
apply_filters( 'dapfforwc_allow_full_cache_build_in_database_mode', false, $manual_build ); -
dapfforwc_allow_full_product_details_cache_build_in_database_mode
filter Copy link Customise this hookapply_filters( 'dapfforwc_allow_full_product_details_cache_build_in_database_mode', false, $manual_build ); -
apply_filters( 'dapfforwc_enable_jet_engine_hook', true ); -
apply_filters( 'dapfforwc_enable_parse_query_hook', true ); -
apply_filters( 'dapfforwc_enable_third_party_hooks', $third_party_enabled_default ); -
apply_filters( 'dapfforwc_enable_wc_blocks_hook', true ); -
apply_filters( 'dapfforwc_enable_wc_product_filter_hook', true ); -
apply_filters( 'dapfforwc_enable_wc_product_table_hook', true ); -
apply_filters( 'dapfforwc_enable_wcpgsk_hook', true ); -
apply_filters( 'dapfforwc_enable_woo_product_grid_hook', true ); -
apply_filters( "dapfforwc_filter_cache_batch_size_{$context}", $batch_size, $product_count ); -
apply_filters( 'dapfforwc_keep_query_params', array_merge(array('lang', 'showtype', 'count'), dapfforwc_get_avada_catalog_query_param_keys()) ); -
apply_filters( 'dapfforwc_large_catalog_custom_field_terms_limit', 1000 ); -
apply_filters( 'dapfforwc_product_meta_affects_filter_cache', $affects, $meta_key ); -
apply_filters( 'dapfforwc_woocommerce_attributes_with_terms', $data ); -
apply_filters( 'dapfforwc_woocommerce_product_details', $data ); -
do_action( 'litespeed_purge_all' ); -
apply_filters( 'plugin_locale', determine_locale(), $domain ); -
apply_filters( 'wpml_current_language', null );
Generated from Dynamic AJAX Product Filters for WooCommerce'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: