WC_Cart_Totals::get_default_shipping_props()
Get default blank set of props used per shipping row.
Description Description
Return Return
(array)
Source Source
File: includes/class-wc-cart-totals.php
protected function get_default_shipping_props() {
return (object) array(
'object' => null,
'tax_class' => '',
'taxable' => false,
'total' => 0,
'total_tax' => 0,
'taxes' => array(),
);
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |