WordPress at Your Fingertips
function is not described

WC_Admin_Setup_Wizard::is_wcs_shipping_labels_supported_country() protected WC 1.0

Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Is WooCommerce Services shipping label country supported

{} It's a method of the class: WC_Admin_Setup_Wizard{}

No Hooks.


null. Nothing.


// protected - for code of main (parent) or child class
$result = $this->is_wcs_shipping_labels_supported_country( $country_code );
$country_code(string) (required)
Country code.


Deprecated 4.6.0

Code of WC_Admin_Setup_Wizard::is_wcs_shipping_labels_supported_country() WC 5.9.0

protected function is_wcs_shipping_labels_supported_country( $country_code ) {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	$supported_countries = array(
		'US', // United States.
	return in_array( $country_code, $supported_countries, true );