@nickguidomedia
9 years, 10 months ago
ended up going about this completely different actually. was easy to just pass $user_id, $xprofile_data to my function.
and call $zipcode = xprofile_get_field_data(7, $user_id);
from there i was easily able to do the rest.
question on the $usermeta , do you know how this returns? can i get the xprofile_get_field_data( “zipcode” ); in a similar fashion from the $usermeta?