/*Proceed to Checkout*/ remove_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout', 20 ); add_action('woocommerce_proceed_to_checkout', 'sm_woo_custom_checkout_button_text',20); function sm_woo_custom_checkout_button_text() { $checkout_url = WC()->cart->get_checkout_url(); ?>