Automattic\WooCommerce\Blocks\Shipping
PickupLocation::__construct
Constructor.
Method of the class: PickupLocation{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PickupLocation = new PickupLocation(); $PickupLocation->__construct();
PickupLocation::__construct() PickupLocation:: construct code WC 10.7.0
public function __construct() {
parent::__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();
}