WC_Shipping_Rate::get_label
Get rate label.
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_label();
WC_Shipping_Rate::get_label() WC Shipping Rate::get label code WC 10.5.0
public function get_label() {
/**
* Filter the shipping rate label.
*
* @since 3.2.0
* @param string $label The shipping rate label.
* @param WC_Shipping_Rate $this The shipping rate object.
*/
return apply_filters( 'woocommerce_shipping_rate_label', $this->data['label'], $this );
}