• After login how to edit user informations response?
    I need user informations to be in this way
    //’wp_user’ => $safeUser,
    ‘data’ => array(
    ‘id’ => $user->ID,
    ’email’ => $user->user_email,
    ‘userName’ => $user->user_nicename,
    ‘firstName’ => $user->first_name,
    ‘lastName’ => $user->last_name,
    ),
    ‘access_token’ => $result[‘access_token’],

    //’expires_in’ => $result[‘expires_in’],

    ‘refresh_token’ => $result[‘refresh_token’],

  • The topic ‘How to edit user informations response’ is closed to new replies.