folbert / fewbricks

Write code to create ACF field groups, fields and re-usable modules.
https://fewbricks2.folbert.com
GNU General Public License v3.0
124 stars 12 forks source link

Add get_brick_layouts and has_brick_layout to brick.php #15

Closed folbert closed 8 years ago

folbert commented 8 years ago

This will allow bricks to find out if they are being used inside a specific brick and for example run some code only needed if a specific layout is used.