Set description and delivery time when instantiating rate

This commit is contained in:
Thomas Roberts 2024-07-17 16:02:25 +01:00
parent 081b1f9a33
commit c83c0ecbfd
No known key found for this signature in database
GPG Key ID: 0262BEBCBE336365
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ class WC_Shipping_Rate {
$this->set_taxes( $taxes ); $this->set_taxes( $taxes );
$this->set_method_id( $method_id ); $this->set_method_id( $method_id );
$this->set_instance_id( $instance_id ); $this->set_instance_id( $instance_id );
$this->set_description( $description );
$this->set_delivery_time( $delivery_time );
} }
/** /**