Auto check Create account field in Woocommerce Checkout Page

Solution:

Checkout Require Create Account

Checkbox Behavior

Use the woocommerce_create_account_default_checked filter

add_filter('woocommerce_create_account_default_checked' , function ($checked){
return true;
});

Place it in your theme or child theme’s functions.php

Alter Template

Hide the checkbox and its label by overriding the woocommerce template. You do so by copying the form-billing.php file to your theme’s folder.

Add a hidden attribute to the input tag and delete the label tag.

<input hidden class="..." ...