woocommerce_checkout_registration_enabled

woocommerce_checkout_registration_enabled

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_checkout_registration_enabled') is found 1 times:

  • /includes/class-wc-checkout.php line 224
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
         * @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() {

See this hook used in plugins: