Add description and delivery time to $data

This commit is contained in:
Thomas Roberts 2024-07-17 16:01:32 +01:00
parent 37903778fb
commit f833964969
No known key found for this signature in database
GPG Key ID: 0262BEBCBE336365
1 changed files with 8 additions and 6 deletions

View File

@ -22,12 +22,14 @@ class WC_Shipping_Rate {
* @var array
*/
protected $data = array(
'id' => '',
'method_id' => '',
'instance_id' => 0,
'label' => '',
'cost' => 0,
'taxes' => array(),
'id' => '',
'method_id' => '',
'instance_id' => 0,
'label' => '',
'cost' => 0,
'taxes' => array(),
'description' => '',
'delivery_time' => '',
);
/**