Skip to content

Instantly share code, notes, and snippets.

@blakewilson
Created May 7, 2018 23:57
Show Gist options
  • Save blakewilson/85f4dea12f6209a6da5b1d1fedbbf274 to your computer and use it in GitHub Desktop.
Save blakewilson/85f4dea12f6209a6da5b1d1fedbbf274 to your computer and use it in GitHub Desktop.
Video Background Pro use old integrations data model
<?php
/**
* Use Video Background Pro's old integrations data model (not recommended)
*
* @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_integrations_use_old_data_model( $use_old ) {
$use_old = true;
return $use_old;
}
add_filter( 'vidbgpro_integration_use_old_data_model', 'themeprefix_vidbgpro_integrations_use_old_data_model' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment