Created
October 10, 2014 17:54
-
-
Save pippinsplugins/3c1fe20e6abb04a2e85d to your computer and use it in GitHub Desktop.
Make the first name not required during EDD checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function pw_edd_purchase_form_required_fields( $required_fields ) { | |
unset( $required_fields['edd_first'] ); | |
return $required_fields; | |
} | |
add_filter( 'edd_purchase_form_required_fields', 'pw_edd_purchase_form_required_fields' ); |
Hi.
I use EDD for give free crypteds links …
so, is there a fast solution for Hide or remove Personal informations from checkout ?
My products are free and i dont need users Personal informations.
many of them dont want enter those informations and leave… so
Hide or remove Personal informations from checkout ?
Can you make a little plugin please ?
PS:
I dont want to use easy-digital-downloads-free-link.1.0.5 plugin because need hosting external file and no crypted link
Thanks a lot for this code, but it's not working for user_login field. What can I do for unset that?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to hide this form if the user already registered / subscribed? I'm not sure if I'm going to get any problems afterward!