WordPress at a glance
filter is not described

woocommerce_checkout_redirect_empty_cart filter-hook . WC 1.0

When on the checkout with an empty cart, redirect to cart page.

Usage

add_filter( 'woocommerce_checkout_redirect_empty_cart', 'filter_function_name_211' );
function filter_function_name_211( $true ){
	// filter...

	return $true;
}
$true
-

Where the hook is called

wc_template_redirect()
woocommerce_checkout_redirect_empty_cart
WC_Shortcode_Checkout::checkout()
woocommerce_checkout_redirect_empty_cart
woocommerce/includes/wc-template-functions.php 30
if ( is_page( wc_get_page_id( 'checkout' ) ) && wc_get_page_id( 'checkout' ) !== wc_get_page_id( 'cart' ) && WC()->cart->is_empty() && empty( $wp->query_vars['order-pay'] ) && ! isset( $wp->query_vars['order-received'] ) && ! is_customize_preview() && apply_filters( 'woocommerce_checkout_redirect_empty_cart', true ) ) {
woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php 267
if ( WC()->cart->is_empty() && ! is_customize_preview() && apply_filters( 'woocommerce_checkout_redirect_empty_cart', true ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.