Confusion on wp_delete_user()

[ad_1]

So I’m reading the logs of wp\_delete\_user and I’m having trouble understanding what happens to the user data. In tutorials i’ve seen that delete via the UI the deleted user data is placed in ‘Trash’. And from Trash can then be permanently deleted.

But what happens when a user account is deleted via wp\_delete\_user() ? Is the user data permanently deleted OR placed in trash?

[ad_2]
1 Comment

 

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