Hi, Provided your Facebook app can request this information, this link shows you how to do this: docs.oneall.com/plugins/guide/social-login-wordpress/#3 You need to adjust the example field ('gender') to your field. (you also need to tick user_location in the app.oneall.com)
Hi, One way is to log a dump of the $identity variable, such that you can inspect it without disturbing your web site. So, in your action hook (the action hook described above), add: error_log(print_r($identity, true)); Then, you need to point to whatever info you want, using PHP syntax. If this is a problem, send us (email, PM) an example $identity dump and we can provide you with the code.
Answers
Provided your Facebook app can request this information, this link shows you how to do this:
docs.oneall.com/plugins/guide/social-login-wordpress/#3
You need to adjust the example field ('gender') to your field.
(you also need to tick user_location in the app.oneall.com)
Regards.
One way is to log a dump of the $identity variable, such that you can inspect it without disturbing your web site.
So, in your action hook (the action hook described above), add:
error_log(print_r($identity, true));
Then, you need to point to whatever info you want, using PHP syntax.
If this is a problem, send us (email, PM) an example $identity dump and we can provide you with the code.
Regards