SingleGrid PDP Builder for WooCommerce 1.0.8 has 6 actions and 7 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 SingleGrid PDP Builder for WooCommerce fires an action
add_action( 'elementor/post/render', function( $template_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value SingleGrid PDP Builder for WooCommerce is about to use
add_filter( 'singlegrid_pdp_resolve_template_id', function( $global_id, $product_id ) {
// Change $global_id here.
return $global_id;
}, 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
-
do_action( 'elementor/post/render', $template_id ); -
apply_filters( 'singlegrid_pdp_resolve_template_id', $global_id, $product_id ); -
elementor/frontend/after_enqueue_post_styles
action Used by 11 plugins → Copy link Customise this hookdo_action( 'elementor/frontend/after_enqueue_post_styles' ); -
apply_filters( 'wc_single_product_params', array( 'i18n_no_matching_variations_text' => esc_attr__( 'Sorry, no products matched your selection. Please choose a different combination.', 'singlegrid-pdp-builder' ), 'i18n_make_a_selection_text' => esc_attr__( 'Please select some product options before adding this product to your cart.', 'singlegrid-pdp-builder' ), 'i18n_unavailable_text' => esc_attr__( 'Sorry, this product is unavailable. ... ); -
apply_filters( 'woocommerce_add_to_cart_form_action', $product->get_permalink() ); -
do_action( 'woocommerce_after_main_content' ); -
do_action( 'woocommerce_after_single_product' ); -
do_action( 'woocommerce_before_main_content' ); -
do_action( 'woocommerce_before_single_product' ); -
woocommerce_single_product_carousel_options
filter Used by 6 plugins → Copy link Customise this hookapply_filters( 'woocommerce_single_product_carousel_options', array( 'rtl' => is_rtl(), 'animation' => 'slide', 'smoothHeight' => true, 'directionNav' => false, 'controlNav' => 'thumbnails', 'slideshow' => false, 'animationSpeed' => 500, 'animationLoop' => false, 'allowOneSlide' => false, ) ); -
woocommerce_single_product_photoswipe_options
filter Used by 7 plugins → Copy link Customise this hookapply_filters( 'woocommerce_single_product_photoswipe_options', array( 'shareEl' => false, 'closeOnScroll' => false, 'history' => false, 'hideAnimationDuration' => 0, 'showAnimationDuration' => 0, ) ); -
apply_filters( 'woocommerce_single_product_zoom_options', array() );
Generated from SingleGrid PDP Builder 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: