• nkeatign

    (@nkeatign)


    I need to map additional fields from Linkedin (e.g Current position, Company etc) but they are not showing up in the buddypress mapping section of the plugin..

    How can I add those mapping options?

    Is there a way to hook into the plugin to avoid editing the core plugin files?

    Thanks!

    https://ww.wp.xz.cn/plugins/wordpress-social-login/

Viewing 1 replies (of 1 total)
  • Thread Starter nkeatign

    (@nkeatign)

    I’ve figured out where to edit, but the problem is pulling in and saving fields that return an array (i.e ‘positions’).

    Ive added ‘positions’ to the api call but when it comes time to format the data how would that foreach work?

    Using something like this..

    $this->user->profile->positionTitle = (sting) $data->position->title;

Viewing 1 replies (of 1 total)

The topic ‘Additional fields’ is closed to new replies.