WordPress at a glance
filter is not described

woocommerce_checkout_registration_enabled filter-hook . WC 3.0.0

Is registration enabled on the checkout page?

Usage

add_filter( 'woocommerce_checkout_registration_enabled', 'filter_function_name_2406' );
function filter_function_name_2406( $string ){
	// filter...

	return $string;
}
$string
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Checkout::is_registration_enabled()
woocommerce_checkout_registration_enabled
woocommerce/includes/class-wc-checkout.php 194
return apply_filters( 'woocommerce_checkout_registration_enabled', 'yes' === get_option( 'woocommerce_enable_signup_and_login_from_checkout' ) );

Where in WP core the hook is used WooCommerce

woocommerce/includes/class-wc-checkout.php 103
remove_filter( 'woocommerce_checkout_registration_enabled', '__return_true', 0 );
woocommerce/includes/class-wc-checkout.php 104
remove_filter( 'woocommerce_checkout_registration_enabled', '__return_false', 0 );
woocommerce/includes/class-wc-checkout.php 105
add_filter( 'woocommerce_checkout_registration_enabled', $bool_value ? '__return_true' : '__return_false', 0 );