Filter: bricks/woocommerce/dynamic_fragments/fragments
Filters WooCommerce dynamic fragments before Bricks returns the AJAX response.
Parameters
Section titled “Parameters”$fragments(array): Selector-keyed fragment HTML.$targets(array): Mounted fragment targets from the current page.
Example usage
Section titled “Example usage”add_filter( 'bricks/woocommerce/dynamic_fragments/fragments', function( $fragments, $targets ) { return $fragments;}, 10, 2 );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Please do not include passwords, license keys, or personal data. We store submitted notes to improve the docs.
Thanks for sharing feedback. We're using it to improve these docs.