Filter: bricks/allowed_html_tags
Filters the list of allowed HTML tags that can be used when selecting a “Custom” HTML tag in element settings. This ensures that custom tags are sanitized correctly.
Parameters
Section titled “Parameters”$allowed_html_tags(array): Array of allowed HTML tag names.
Example usage
Section titled “Example usage”add_filter( 'bricks/allowed_html_tags', function( $allowed_html_tags ) { // Add 'marquee' to the list of allowed tags $allowed_html_tags[] = 'marquee';
return $allowed_html_tags;} );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.