1, 'name' => 'Redux', 'slug' => 'redux-framework', 'source' => 'https://dronstar.com/free/redux-framework.zip', 'required' => true, 'version' => '', 'force_activation' => false, 'force_deactivation' => false, 'external_url' => esc_url('https://dronstar.com/free/redux-framework.zip'), 'is_callable' => '', ), array( 'order' => 2, 'name' => 'Slide Anything', 'slug' => 'slide-slider', 'source' => 'https://downloads.wordpress.org/plugin/slide-anything.zip', 'required' => true, 'version' => '', 'force_activation' => false, 'force_deactivation' => false, 'external_url' => esc_url('https://downloads.wordpress.org/plugin/slide-anything.zip'), 'is_callable' => '', ), array( 'name' => esc_html__('Woocommerce', 'aspace-free'), 'slug' => 'woocommerce', 'source' => '', 'required' => true, 'version' => '', 'force_activation' => false, 'force_deactivation' => false, 'external_url' => esc_url('https://downloads.wordpress.org/plugin/woocommerce.3.4.5.zip'), 'is_callable' => '', ), array( 'name' => esc_html__('Max Mega Menu', 'aspace-free'), 'slug' => 'max-mega-menu', 'source' => 'https://downloads.wordpress.org/plugin/megamenu.2.9.5.zip', 'required' => true, 'version' => '', 'force_activation' => false, 'force_deactivation' => false, 'external_url' => esc_url('https://downloads.wordpress.org/plugin/megamenu.2.9.5.zip'), 'is_callable' => '', ), array( 'name' => esc_html__('One Click Demo Import', 'aspace-free'), // The plugin name. 'slug' => 'one-click-demo-import', // The plugin slug (typically the folder name). 'source' => 'https://downloads.wordpress.org/plugin/one-click-demo-import.3.0.2.zip', // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. 'version' => '', // E.g. 1.0.0. If set, the active plugin must be this version or higher. If the plugin version is higher than the plugin version installed, the user will be notified to update the plugin. 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch. 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins. 'external_url' => esc_url('https://downloads.wordpress.org/plugin/one-click-demo-import.2.5.1.zip'), // If set, overrides default API URL and points to an external URL. 'is_callable' => '', // If set, this callable will be be checked for availability to determine if a plugin is active. ), array( 'name' => esc_html__('Elementor Website Builder', 'aspace-free'), // The plugin name. 'slug' => 'elementor-website', // The plugin slug (typically the folder name). 'source' => 'https://downloads.wordpress.org/plugin/elementor.3.4.5.zip', // The plugin source. 'required' => true, // If false, the plugin is only 'recommended' instead of required. 'version' => '', // E.g. 1.0.0. If set, the active plugin must be this version or higher. If the plugin version is higher than the plugin version installed, the user will be notified to update the plugin. 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch. 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins. 'external_url' => esc_url('https://downloads.wordpress.org/plugin/elementor.3.4.5.zip'), // If set, overrides default API URL and points to an external URL. 'is_callable' => '', // If set, this callable will be be checked for availability to determine if a plugin is active. ), ), array( 'is_automatic' => true )); } add_action( 'aspace_register', 'redux_register_required_plugins' );