This is how I created an address field in GiveWP…correct?
-
I found the hook ‘give_purchase_form_after_personal_info’ and added ‘give_default_cc_address_fields’ then added the action into my functions.php file as below.
add_action( 'give_purchase_form_after_personal_info', 'give_default_cc_address_fields');
I took the original code from your Github form customizations folder.
On running tests, everything seems to work fine and the addresses show up in the donation transactions.
I understand there is no guarantee an update might not break this in the future but does this look about right? Thanks
Bryan
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘This is how I created an address field in GiveWP…correct?’ is closed to new replies.