WordPress at Your Fingertips
function is not described

WC_Shipping_Method::get_method_title() public WC 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 5.8.0

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