WC_Shipping::__construct()

Initialize shipping.


Description Description


Source Source

File: includes/class-wc-shipping.php

	public function __construct() {
		$this->enabled = wc_shipping_enabled();

		if ( $this->enabled ) {
			$this->init();
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.