woocommerce_checkout_registration_enabled, yes === get_option( woocommerce_enable_signup_and_login_from_checkout

woocommerce_checkout_registration_enabled, yes === get_option( woocommerce_enable_signup_and_login_from_checkout

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_checkout_registration_enabled, yes === get_option( woocommerce_enable_signup_and_login_from_checkout') is found 1 times:

  • /includes/class-wc-checkout.php line 236
    		 * @since 3.0.0
    		 *
    		 * @param bool $checkout_registration_enabled If checkout registration is enabled.
    		 */
    		return apply_filters( 'woocommerce_checkout_registration_enabled', 'yes' === get_option( 'woocommerce_enable_signup_and_login_from_checkout' ) );
    	}
    
    	/**
    	 * Initialize the checkout fields.
    	 */
    	protected function initialize_checkout_fields() {