Is there a way to save Address information as a custom field? Also, I can’t find a way to modify custom field’s html output. I do not want to modify s2member pro’s source code, I prefer using hooks and filters coz last time my mod was overwritten when I updated to the new version.
$custom_fields = '<div id="s2member-pro-authnet-registration-form-custom-fields-section" class="s2member-pro-authnet-form-section s2member-pro-authnet-registration-form-section s2member-pro-authnet-form-custom-fields-section s2member-pro-authnet-registration-form-custom-fields-section">' . "\n";
$custom_fields .= '<div id="s2member-pro-authnet-registration-form-custom-fields-section-title" class="s2member-pro-authnet-form-section-title s2member-pro-authnet-registration-form-section-title s2member-pro-authnet-form-custom-fields-section-title s2member-pro-authnet-registration-form-custom-fields-section-title">' . "\n";
$custom_fields .= _x ("Additional Info", "s2member-front", "s2member") . "\n";
$custom_fields .= '</div>' . "\n";
I need to save Address, Zipcode, State, City and Country as a custom field. So that the user / member can modify them using the edit profile page.