WC_Shipping_Method::get_title()publicWC 1.0

Return the shipping title which is user set.

{} It's a method of the class: WC_Shipping_Method{}

Hooks from the method

Return

String.

Usage

$WC_Shipping_Method = new WC_Shipping_Method();
$WC_Shipping_Method->get_title();

Code of WC_Shipping_Method::get_title() WC 6.9.4

public function get_title() {
	return apply_filters( 'woocommerce_shipping_method_title', $this->title, $this->id );
}