Class WC_Shipping
Methods summary
public static
Main
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
register_shipping_method( object|string $method )
Register a shipping method for use in calculations. |
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
|
|
public
array
|
#
calculate_shipping_for_package( array $package = array() )
calculate_shipping_for_package function. |
public
array
|
|
public
|
|
public
|
Magic methods summary
Properties summary
public
boolean
|
$enabled |
#
True if shipping is enabled. |
public
array
|
$shipping_methods |
#
Stores methods loaded into woocommerce. |
public
float
|
$shipping_total |
#
Stores the cost of shipping |
public
array
|
$shipping_taxes |
#
Stores an array of shipping taxes. |
public
array
|
$shipping_classes |
#
Stores the shipping classes. |
public
array
|
$packages |
#
Stores packages to ship and to get quotes for. |
protected static
|
$_instance |
#
The single instance of the class |