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