Created
August 28, 2016 04:21
-
-
Save katlove/43c3fe2168d4706a8318887e0c31c56e to your computer and use it in GitHub Desktop.
Remove Presets on Beaver Builder Child Theme
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 | |
// Remove all of the Beaver Builder child theme presets | |
//(does not remove default as you should overwrite default with your child theme's default settings) | |
function es_remove_presets() | |
{ | |
FLCustomizer::remove_preset( 'default-dark' ); | |
FLCustomizer::remove_preset( 'classic' ); | |
FLCustomizer::remove_preset( 'modern' ); | |
FLCustomizer::remove_preset( 'bold' ); | |
FLCustomizer::remove_preset( 'stripe' ); | |
FLCustomizer::remove_preset( 'deluxe' ); | |
FLCustomizer::remove_preset( 'premier'); | |
FLCustomizer::remove_preset( 'dusk' ); | |
FLCustomizer::remove_preset( 'midnight' ); | |
} | |
add_action( 'after_setup_theme', 'es_remove_presets', 11 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment