You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the above code to send user data to a google sheet when the profile is updated. I have a "date" field which allows user to choose their birthday, and its field_id is 33.
In updateUsersToSheet.php,if I do var_dump(xprofile_get_field_data(33,$user_id));
It will output an empty string. However, if I put var_dump(xprofile_get_field_data(33,$user_id)); in function.php, it will correctly output the users' birthday.
I am using the above code to send user data to a google sheet when the profile is updated. I have a "date" field which allows user to choose their birthday, and its field_id is 33.
In
updateUsersToSheet.php
,if I dovar_dump(xprofile_get_field_data(33,$user_id));
It will output an empty string. However, if I put
var_dump(xprofile_get_field_data(33,$user_id));
in function.php, it will correctly output the users' birthday.I also tried to get this data from custom api
It also outputs an empty string.
I have tried create another "html5 date picker" field, and it doesn't have this problem.
The text was updated successfully, but these errors were encountered: