17
votes
Product Carousel Block: Add filter hook
I think it is nice to have a filter hook on Product Carousel block query.
E.g.,
$atts = apply_filters( ‘kadence_product_carousel_atts’, $atts, $attributes );
$shortcode = new WC_Shortcode_Products( $atts, $type );
One Comment
Leave a Reply
You must be logged in to post a comment.
This will be added in the next pro blocks version.