WordPress at a glance
filter is not described

woocommerce_checkout_registration_required filter-hook . WC 3.0.0

Is registration required to checkout?

Usage

add_filter( 'woocommerce_checkout_registration_required', 'filter_function_name_3169' );
function filter_function_name_3169( $string ){
	// filter...

	return $string;
}
$string
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Checkout::is_registration_required()
woocommerce_checkout_registration_required
woocommerce/includes/class-wc-checkout.php 184
return apply_filters( 'woocommerce_checkout_registration_required', 'yes' !== get_option( 'woocommerce_enable_guest_checkout' ) );

Where in WP core the hook is used WooCommerce

woocommerce/includes/class-wc-checkout.php 112
remove_filter( 'woocommerce_checkout_registration_required', '__return_true', 0 );
woocommerce/includes/class-wc-checkout.php 113
remove_filter( 'woocommerce_checkout_registration_required', '__return_false', 0 );
woocommerce/includes/class-wc-checkout.php 114
add_filter( 'woocommerce_checkout_registration_required', $bool_value ? '__return_false' : '__return_true', 0 );