WordPress action hook

woocommerce_proceed_to_checkout

Defined by WooCommerce and fired by 18 plugins in total, running on 8.1M+ sites between them.

How to use woocommerce_proceed_to_checkout

It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_proceed_to_checkout', function( $settings ) {
	// Your code runs here.
}, 10, 1 );

Argument names come from Essential Addons for Elementor's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

18 plugins that fire woocommerce_proceed_to_checkout

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_proceed_to_checkout' ) templates/cart/cart-totals.php:107
  2. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs do_action( 'woocommerce_proceed_to_checkout', $settings ) includes/Template/Woocommerce/Cart/Woo_Cart_Helper.php:384
  3. ShopEngine icon ShopEngine90,000+ installs do_action( 'woocommerce_proceed_to_checkout' ) widgets/cart-totals/screens/default.php:138
  4. CoDesigner icon CoDesigner4,000+ installs do_action( 'woocommerce_proceed_to_checkout' ) widgets/cart-overview/assets/templates/cart-totals.php:170
  5. WowStore icon WowStore4,000+ installs do_action( 'woocommerce_proceed_to_checkout' ) blocks/woo/cart_total/Template.php:100
  6. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs do_action( 'woocommerce_proceed_to_checkout' ) blocks/cart-totals/screen.php:132
  7. Hide Price Until Login icon Hide Price Until Login1,000+ installs do_action( 'woocommerce_proceed_to_checkout' ) includes/cart-total.php:17
  8. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_proceed_to_checkout' ) public/templates/cart/cart-totals.php:100
  9. KiriminAja Official icon KiriminAja Official200+ installs do_action( 'woocommerce_proceed_to_checkout' ) templates/woocommerce/cart/cart-totals.php:142
  10. Shopready icon Shopready100+ installs do_action( 'woocommerce_proceed_to_checkout' ) src/extension/templates/tpl/cart/cart-totals.php:107
  11. WebSync Checkout for Elementor icon WebSync Checkout for Elementor50+ installs do_action( 'woocommerce_proceed_to_checkout' ) templates/cart/custom-cart-totals.php:118
  12. Sidebar Cart for WooCommerce icon Sidebar Cart for WooCommerce50+ installs do_action( 'woocommerce_proceed_to_checkout' ) class-sidebar-cart.php:88
  13. Themofy Addons for Elementor icon Themofy Addons for Elementor20+ installs do_action( 'woocommerce_proceed_to_checkout' ) modules/woocommerce/includes/widgets/class-cart.php:1247
  14. Max Elements for Elementor icon Max Elements for Elementor10+ installs do_action( 'woocommerce_proceed_to_checkout', $settings ) elementor/helpers/woo_cart.php:348
  15. SBS icon SBS10+ installs do_action( 'woocommerce_proceed_to_checkout' ) templates/cart/cart.php:126
  16. Global Seller Services for WooCommerce icon Global Seller Services for WooCommerce10+ installs do_action( 'woocommerce_proceed_to_checkout' ) templates/TaxCalculation/cart-totals.php:159
  17. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_proceed_to_checkout' ) inc/blocks/blocks-cart.php:379
  18. MCOD Minimalist Checkout for WooCommerce icon MCOD Minimalist Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_proceed_to_checkout' ) includes/class-mcrpd-checkout-loader.php:1859

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.