Filter: bricks/dynamic_data/exclude_tags
Dynamic data tags are strings with a special syntax wrapped by curly brackets. Sometimes this syntax has conflicts with other plugins which cause a specific tag to be removed by the content.
Since Bricks 1.3.5 it is possible to exclude a list of tags from the Bricks dynamic data logic using the following PHP snippet in your functions.php file:
add_filter( 'bricks/dynamic_data/exclude_tags', function( $tags ) { return [ 'my_specific_tag', 'my_other_specific_tag' ];});Adding this code to your child theme will prevent Bricks from replacing these tags with an empty string.
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.