WC_Shipping_Method::get_method_title()publicWC 2.6.0

Return the shipping method title.

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.

WC_Shipping_Method::get_method_title() code WC 8.6.1

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