Automattic\WooCommerce\Blocks\Shipping

PickupLocation::__construct()publicWC 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$PickupLocation = new PickupLocation();
$PickupLocation->__construct();

Код PickupLocation::__construct() WC 9.1.2

public function __construct() {
	$this->id                 = 'pickup_location';
	$this->method_title       = __( 'Local pickup', 'woocommerce' );
	$this->method_description = __( 'Allow customers to choose a local pickup location during checkout.', 'woocommerce' );
	$this->init();
}