Is there a way to check if the Pro builder is loaded? I have a simple custom shortcode that prints out some content to the front end. I dont want this code to fire if the builder is loaded - only if the front end of the site is. How can this be done?
Something like this:
function footer_stuff(){
if (is_the_pro_builder) {
// do nothing
} else {
echo '<div class="wrapper-class">';
global $variable_name;
print $variable_name->getBodyString("body_1");
print $variable_name->close();
echo '</div>';
}
}
add_shortcode( 'get_footer_stuff', 'footer_stuff' );