WC_Shipping_Rate::get_labelpublicWC 1.0

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() 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 );
}