Make “Create an account” to be default Checked on WooCommerce checkout page.

Jul 31, 2022 | WooCommerce Tips | 0 comments

This function makes the “Create an account” checkbox to be default Checked on WooCommerce checkout page.
/* Make "Create an account" to be default Checked */
add_filter('woocommerce_create_account_default_checked', '__return_true');

0 Comments

Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.