How to Get the Chosen Shipping Method Title by Its ID in WooCommerce?
WooCommerce provides a function called WC()->session->get(). This function is used to access and manipulate session variables that store information about a user’s interaction with the