Filter: bricks/woocommerce/predefined_elements/generated_payload
Filters a generated WooCommerce predefined element payload before Bricks returns it.
Parameters
Section titled “Parameters”$response(array): The generated payload response.$preset(string): The preset ID being generated.$context(array): Generation context for the preset.
Example usage
Section titled “Example usage”add_filter( 'bricks/woocommerce/predefined_elements/generated_payload', function( $response, $preset, $context ) { return $response;}, 10, 3 );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.