In the Woocommerce checkout page, how to turn the “terms and conditions” checked by default so customers don’t have to check/uncheck the checkbox?
Put this snippet in the ‘Theme Functions’ file of your active theme. Here’s the code:
IMPORTANT: Be sure that this is allowed in your country. There might be laws or restrictions.
/** * "Terms and conditions" to be Checked by Default */ add_filter('woocommerce_terms_is_checked_default', '__return_true');