bBlocks 2.1.18 has 5 actions and 24 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 bBlocks fires an action
add_action( 'woocommerce_after_single_product_summary', function() {
// Your code runs here.
}, 10, 1 );
// Change a value bBlocks is about to use
add_filter( 'b_blocks_woo_product_carousel_query', function( $args, $a ) {
// Change $args here.
return $args;
}, 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.
Changes by version
2.1.16 → 2.1.17 · Nov 19, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Filter the product-carousel query args. */ apply_filters( 'b_blocks_woo_product_carousel_query', $args, $a ); -
/** * Filter the product-grid query args. */ apply_filters( 'b_blocks_woo_product_grid_query', $args, $a ); -
woocommerce_after_single_product_summary
action Used by 17 plugins → Copy link Customise this hook/** * Fires the native after-summary hooks: product data tabs (Description, * Additional information, Reviews) and upsells. */ do_action( 'woocommerce_after_single_product_summary' ); -
/** * Fires the native summary column: title, rating, price, short description, * the add-to-cart form (including variation selectors for variable products), * and the product meta (SKU / categories / tags), in standard WooCommerce * priority order. */ do_action( 'woocommerce_single_product_summary' ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product->get_id(), $quantity ); -
apply_filters( 'woocommerce_add_to_cart_fragments', [ 'div.widget_shopping_cart_content' => '<div class="widget_shopping_cart_content">' . $miniCart . '</div>' ] ); -
apply_filters( 'wp_min_priority_img_pixels', 50000 ); -
do_action( 'b_blocks_fs_loaded' ); -
apply_filters( 'b_blocks_instagram_min_cache_minutes', self::CACHE_MIN_MINUTES ); -
apply_filters( 'b_blocks_instagram_public_fetch_max', self::PUBLIC_FETCH_MAX ); -
apply_filters( 'b_blocks_instagram_public_fetch_window', self::PUBLIC_FETCH_WINDOW ); -
apply_filters( 'b_blocks_posts_excerpt_filter', $plainText, $content ); -
apply_filters( 'b_blocks_posts_query', $query ); -
apply_filters( 'b_blocks_site_scan_checks', $this->checks() ); -
apply_filters( 'b_blocks_svg_max_bytes', 2 * 1024 * 1024 ); -
do_action( 'b_blocks_svg_sanitized', $sanitizer->getXmlIssues(), $file ); -
apply_filters( 'b_blocks_svg_sanitizer', $instance ); -
apply_filters( 'b_blocks_templates_api_base', 'https://templates.bplugins.com' ); -
apply_filters( 'b_blocks_templates_tracking_allowed', $allowed ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'retrieve_password_message', $message, $key ); -
apply_filters( 'retrieve_password_title', $title ); -
do_action( 'woocommerce_ajax_added_to_cart', $product->get_id() ); -
apply_filters( "woocommerce_product_{$key}_tab_title", $tab['title'] ?? '', $key ); -
apply_filters( 'woocommerce_product_tabs', [] ); -
apply_filters( 'woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product ); -
apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ); -
apply_filters( 'woocommerce_quantity_input_step', 1, $product ); -
apply_filters( 'woocommerce_widget_cart_item_visible', true, $cartItem, $cartItemKey );
Generated from bBlocks'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: