Created
August 23, 2017 15:57
-
-
Save SeanTOSCD/7b40154802ca400033713cd1c6e48d8a to your computer and use it in GitHub Desktop.
EDD remove first name from checkout
This file contains 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 // DO NOT COPY THIS LINE | |
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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment