Last active
May 7, 2018 23:55
-
-
Save blakewilson/e20902ebe43474a96e58f76950b515dc to your computer and use it in GitHub Desktop.
Video Background Pro Disable SiteOrigin Page Builder Integration
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 | |
/** | |
* Disable Video Background Pro's SiteOrigin Page Builder Integration | |
* | |
* @since 3.0.0 | |
* @author Push Labs | |
* @param Boolean $is_enabled Boolean decisison to enable/disable the integration | |
* @return Boolean $is_enabled | |
*/ | |
function themeprefix_vidbgpro_disable_siteorigin( $is_enabled ) { | |
$is_enabled = false; | |
return $is_enabled; | |
} | |
add_filter( 'vidbgpro_enable_siteorigin', 'themeprefix_vidbgpro_disable_siteorigin' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment