Filter: bricks/support_masonry_element
Filters the list of element names that support the Masonry layout option. By default, this includes section, container, block, and div.
Parameters
Section titled “Parameters”$element_names(array): Array of element names (slugs) that support Masonry.
Example usage
Section titled “Example usage”add_filter( 'bricks/support_masonry_element', function( $element_names ) { // Enable Masonry support for a custom element $element_names[] = 'my-custom-grid';
return $element_names;} );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.