WordPress at Your Fingertips
function is not described

WC_Shipping::get_packages() public WC 1.0

Get packages.

{} It's a method of the class: WC_Shipping{}

No Hooks.

Return

Array.

Usage

$WC_Shipping = new WC_Shipping();
$WC_Shipping->get_packages();

Code of WC_Shipping::get_packages() WC 5.9.0

public function get_packages() {
	return $this->packages;
}