Delete users/disconnect | WordPress.org

[ad_1]

Plugin Support
Laszlo

(@laszloszalvak)

Hi @omc123

Yes, deleting the user with the wp_delete_user() function is the right way of deleting WordPress users, as that fires the “delete_user” function where developers can hook functions to remove extra data on user deletion. We are also hooked to that action, so deleting the user with the wp_delete_user() function will delete the data stored by us as well. Including:

  • the link between the WordPress user and the social media account ( stored in our <wp-preffix>social_users table )
  • the user meta
  • the data connected to the avatar attachment and the file itself

So it is not necessary to unlink the accounts before the account deletion.

Best regards,
Laszlo.

Thread Starter
omc123

(@omc123)

 @laszloszalvak Thank you for your informative detail. Great plugin.

Plugin Support
Laszlo

(@laszloszalvak)

Hi @omc123

I am glad I could help!

If you have any other question just let us know!

Note: I also noticed that you submitted a review. Thank you very much! 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer