Viewing 2 replies - 1 through 2 (of 2 total)
  • hi, it might be that the meta is not yet saved by the time the hook is called, the hook’s manual page explains:

    Not all user meta data has been stored in the database when this action is triggered. For example, nickname is in the database but first_name and last_name are not (as of 3.9.1).

    It is important to know when the social plugin sets the user meta to be able to find the right hook to use. Which social media plugin is it?

    Thread Starter riille

    (@riille)

    Hi again, thanks for your help. You were right. I solved this by delete the user meta data with the code lines I showed earlier at the very first login. At that point the meta data was saved and could be deleted.

    https://wp-mix.com/wordpress-first-user-login/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Delete user meta data at user registration’ is closed to new replies.