diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 918145889b8..17044f7fc06 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -467,56 +467,6 @@ class WC_Admin_Setup_Wizard { exit; } - /** - * Tout WooCommerce Services for North American stores. - */ - protected function wc_setup_wcs_tout() { - $base_location = wc_get_base_location(); - - if ( false === $base_location['country'] ) { - $base_location = WC_Geolocation::geolocate_ip(); - } - - if ( ! in_array( $base_location['country'], array( 'US', 'CA' ), true ) ) { - return; - } - - $default_content = array( - 'title' => __( 'Enable WooCommerce Shipping (recommended)', 'woocommerce' ), - 'description' => __( 'Print labels and get discounted USPS shipping rates, right from your WooCommerce dashboard. Powered by WooCommerce Services.', 'woocommerce' ), - ); - - switch ( $base_location['country'] ) { - case 'CA': - $local_content = array( - 'title' => __( 'Enable WooCommerce Shipping (recommended)', 'woocommerce' ), - 'description' => __( 'Display live rates from Canada Post at checkout to make shipping a breeze. Powered by WooCommerce Services.', 'woocommerce' ), - ); - break; - default: - $local_content = array(); - } - - $content = wp_parse_args( $local_content, $default_content ); - ?> -
- -
-