Last active
February 28, 2018 19:40
-
-
Save blakewilson/40558c398194a634aaf1c24c062bc494 to your computer and use it in GitHub Desktop.
Video Background Pro Disable Visual Composer 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 Visual Composer Integration | |
* | |
* @since 2.2.0 | |
* @author Push Labs | |
* @param Boolean $is_enabled Boolean decisison to enable/disable the integration | |
* @return Array $is_enabled | |
*/ | |
function themeprefix_vidbgpro_disable_vc( $is_enabled ) { | |
$is_enabled = false; | |
return $is_enabled; | |
} | |
add_filter( 'vidbgpro_enable_vc', 'themeprefix_vidbgpro_disable_vc' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment