WC_Shipping_Rate::get_delivery_time
Get rate delivery time.
Method of the class: WC_Shipping_Rate{}
Hooks from the method
Returns
String.
Usage
$WC_Shipping_Rate = new WC_Shipping_Rate(); $WC_Shipping_Rate->get_delivery_time();
Changelog
| Since 9.2.0 | Introduced. |
WC_Shipping_Rate::get_delivery_time() WC Shipping Rate::get delivery time code WC 10.5.0
public function get_delivery_time() {
/**
* Filter the shipping rate delivery time.
*
* @since 9.2.0
*
* @param string $delivery_time The current description.
* @param WC_Shipping_Rate $this The shipping rate.
*/
return apply_filters( 'woocommerce_shipping_rate_delivery_time', $this->data['delivery_time'], $this );
}