Automattic\WooCommerce\Internal\Admin

ShippingLabelBannerDisplayRules::wcs_up_to_date()privateWC 1.0

Checks if WooCommerce Shipping & Tax is up to date.

Метод класса: ShippingLabelBannerDisplayRules{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->wcs_up_to_date();

Код ShippingLabelBannerDisplayRules::wcs_up_to_date() WC 8.7.0

private function wcs_up_to_date() {
	return $this->wcs_version && version_compare( $this->wcs_version, $this->min_wcs_version, '>=' );
}