woocommerce_cart_totals_shipping_method_label

The WooCommerce woocommerce cart totals shipping method label function.

Description

woocommerce_cart_totals_shipping_method_label( $method ); 

Parameters (1)

0. $method
The method.

Usage

  1. if ( !function_exists( 'woocommerce_cart_totals_shipping_method_label' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4. // The method. 
  5. $method = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_cart_totals_shipping_method_label($method); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_cart_totals_shipping_method_label( $method ) {