hello, added uLogin plugin, trying to register users via social networks with sending user data to my mail, added such a code to the page for registration

<div id="uLogin" data-ulogin="display=buttons;fields=first_name,last_name,phone,email;"> <img src="vkontakte.png" data-uloginbutton = "vkontakte"/> <img src="facebook.png" data-uloginbutton = "facebook"/> </div> 

and how can I get user data now so that I can use the mail () function

  • They have a plugin on the site for WP and a bunch of other cms / forums. And hardly anyone will come to you with such a set of required fields: fields=first_name,last_name,phone,email :) - Visman
  • As already mentioned above, uLogin has a plugin for WP, which is quite good. When authorization / user registration through social. the network creates its profile in WP, hook the hook to a typical user creation event and send everything you need. Better using the wp_mail() function - alenkins

0