Created
January 18, 2014 04:49
-
-
Save amdrew/8486389 to your computer and use it in GitHub Desktop.
Move the user fields in Easy Digital Downloads to after the register fields
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 | |
// remove/unhook the user info fields | |
remove_action( 'edd_register_fields_before', 'edd_user_info_fields' ); | |
// add/rehook the user info fields to after the register fields | |
add_action( 'edd_register_fields_after', 'edd_user_info_fields' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment