Enable wp_body_open for Bricks Builder

Bricks builder by default doesn’t support wp_body_open hook. This breaks quite a few plugins such as tag managers and analytics etc.

Quick solution is to hook in to the bricks_body action, and make a simple call to wp_body_open()

add_action( 'bricks_body', function () {
}, 0 );

I am a founder & CEO of Code Atlantic and I've been working with WordPress for over 15 years creating plugins to help WP site owners grow for more than 10 of those. We have developed and maintained popular plugins including the best wordpress popup plugin, Popup Maker with over 4k 5 star reviews, as well as Content Control, Ahoy & User Menus.

Follow on:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.