Visual Composer page * * @since 1.0.0 */ function vc_set_as_theme() { if ( function_exists( 'vc_set_as_theme' ) ) { vc_set_as_theme( true ); vc_manager()->disableUpdater( true ); } } /** * Add assets in theme * * @param array $assets list of theme assets (JS & CSS). * @return array List of updated assets. * @since 1.0.0 */ function add_styles( $assets ) { $assets['css']['astra-vc-plugin'] = 'site-compatible/vc-plugin'; return $assets; } } endif; /** * Kicking this off by calling 'get_instance()' method */ Astra_Visual_Composer::get_instance();