WC_Cart_Totals::get_default_fee_props
Get default blank set of props used per fee.
Method of the class: WC_Cart_Totals{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_default_fee_props();
Changelog
| Since 3.2.0 | Introduced. |
WC_Cart_Totals::get_default_fee_props() WC Cart Totals::get default fee props code WC 10.4.3
protected function get_default_fee_props() {
return (object) array(
'object' => null,
'tax_class' => '',
'taxable' => false,
'total_tax' => 0,
'taxes' => array(),
);
}