woocommerce_shipping_method_chosen, $chosen_method

woocommerce_shipping_method_chosen, $chosen_method

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_shipping_method_chosen, $chosen_method') is found 1 times:

  • /includes/wc-cart-functions.php line 483
    		 *
    		 * @since 3.2.0
    		 * @param string $chosen_method Chosen shipping method. e.g. flat_rate:1.
    		 */
    		do_action( 'woocommerce_shipping_method_chosen', $chosen_method );
    	}
    	return $chosen_method;
    }
    
    /**
     * Choose the default method for a package.