Created
November 10, 2017 15:14
-
-
Save joshfeck/33b866c7e99b41f47c69ea03d3ef9958 to your computer and use it in GitHub Desktop.
Beaver Builder shim for Event Espresso 4.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
function ee_bb_suppress_notices(){ | |
if (class_exists('FLBuilderModel') && (FLBuilderModel::is_builder_enabled())){ | |
add_filter( 'FHEE__EE_Front_Controller__display_errors', '__return_false' ); | |
} | |
} | |
add_action('wp', 'ee_bb_suppress_notices', 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment