Warning: This method has been deprecated.
WC_Admin_Setup_Wizard::get_wcs_requisite_plugins()
Retrieve info for missing WooCommerce Services and/or Jetpack plugin.
Description Description
Return Return
(array)
Source Source
File: includes/admin/class-wc-admin-setup-wizard.php
protected function get_wcs_requisite_plugins() { $plugins = array(); if ( ! is_plugin_active( 'woocommerce-services/woocommerce-services.php' ) && ! get_option( 'woocommerce_setup_background_installing_woocommerce-services' ) ) { $plugins[] = array( 'name' => __( 'WooCommerce Services', 'woocommerce' ), 'slug' => 'woocommerce-services', ); } if ( ! is_plugin_active( 'jetpack/jetpack.php' ) && ! get_option( 'woocommerce_setup_background_installing_jetpack' ) ) { $plugins[] = array( 'name' => __( 'Jetpack', 'woocommerce' ), 'slug' => 'jetpack', ); } return $plugins; }
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |