Steam – Import Data into Custom Fields
-
Good Evening,
I added a custom field to my users page by editing my functions.php.
function modify_contact_methods($profile_fields) { //Add New Fields $profile_fields['steamid'] = 'Steam ID'; return $profile_fields; } add_filter('user_contactmethods', 'modify_contact_methods');I need to add the SteamID using the Steam Authentication with your plugin to this field. I attempted to edit the Steam.php file Located in wordpress-social-login\hybridauth\Hybrid\Providers\Steam.php with the following line:
$userProfile['steamid' ] = property_exists( $data, 'steamid' ) ? $data->steamid : '';However, this does not seem to add the SteamID to the custom field I created. How should I go about doing this?
The page I need help with: [log in to see the link]
The topic ‘Steam – Import Data into Custom Fields’ is closed to new replies.