Skip to content

Instantly share code, notes, and snippets.

@MarceloGlez
Created February 13, 2021 01:42
Show Gist options
  • Save MarceloGlez/e4ec7573963d78092c671ff580602c6f to your computer and use it in GitHub Desktop.
Save MarceloGlez/e4ec7573963d78092c671ff580602c6f to your computer and use it in GitHub Desktop.
Para habilitar el checkbox de crear cuenta en finalizar compra
/* Checkbox habilitado crear cuenta en checkout */
add_filter('woocommerce_create_account_default_checked' , function ($checked){
return true;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment