woocommerce_shipping_method_title filter-hookWC 1.0

Return the shipping title which is user set.

Usage

add_filter( 'woocommerce_shipping_method_title', 'wp_kama_woocommerce_shipping_method_title_filter', 10, 2 );

/**
 * Function for `woocommerce_shipping_method_title` filter-hook.
 * 
 * @param  $title 
 * @param  $id    
 *
 * @return 
 */
function wp_kama_woocommerce_shipping_method_title_filter( $title, $id ){

	// filter...
	return $title;
}
$title
-
$id
-

Where the hook is called

WC_Shipping_Method::get_title()
woocommerce_shipping_method_title
WC_Shipping_Method::get_method_title()
woocommerce_shipping_method_title
woocommerce/includes/abstracts/abstract-wc-shipping-method.php 220
return apply_filters( 'woocommerce_shipping_method_title', $this->title, $this->id );
woocommerce/includes/abstracts/abstract-wc-shipping-method.php 201
return apply_filters( 'woocommerce_shipping_method_title', $this->method_title, $this );

Where the hook is used in WooCommerce

Usage not found.