WordPress at Your Fingertips
function is not described

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

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