WC_Shipping_Method::get_method_title()publicWC 2.6.0

Return the shipping method title.

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

Changelog

Since 2.6.0 Introduced.

Code of WC_Shipping_Method::get_method_title() WC 6.8.2

public function get_method_title() {
	return apply_filters( 'woocommerce_shipping_method_title', $this->method_title, $this );
}