WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Automattic\WooCommerce\Admin\Features

ShippingLabelBannerDisplayRules::__construct() public WC 1.0

Constructor.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$ShippingLabelBannerDisplayRules = new ShippingLabelBannerDisplayRules();
$ShippingLabelBannerDisplayRules->__construct( $jetpack_version, $jetpack_connected, $wcs_version, $wcs_tos_accepted, $incompatible_plugins_installed );
$jetpack_version(строка) (обязательный)
Installed Jetpack version to check.
$jetpack_connected(true/false) (обязательный)
Is Jetpack connected?.
$wcs_version(строка) (обязательный)
Installed WooCommerce Shipping & Tax version to check.
$wcs_tos_accepted(true/false) (обязательный)
WooCommerce Shipping & Tax Terms of Service accepted?.
$incompatible_plugins_installed(true/false) (обязательный)
Are there any incompatible plugins installed?.

Код ShippingLabelBannerDisplayRules::__construct() WC 4.7.1

<?php
public function __construct( $jetpack_version, $jetpack_connected, $wcs_version, $wcs_tos_accepted, $incompatible_plugins_installed ) {
	$this->jetpack_version                   = $jetpack_version;
	$this->jetpack_connected                 = $jetpack_connected;
	$this->wcs_version                       = $wcs_version;
	$this->wcs_tos_accepted                  = $wcs_tos_accepted;
	$this->no_incompatible_plugins_installed = ! $incompatible_plugins_installed;
}