how I remove user settings at the plugin uninstall process?
-
Hello,
a plugin of mine stores user-specific settings in the usermeta table. If the plugin is uninstalled, I would like to delete this setting for all users. How is the right way to remove the settings for all users in the database? I found the function delete_usermeta, but this requires a UserID, so I would have to first determine all users and then go into a loop over it.
What should I consider in the context of a MU installation?greetings
frank
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how I remove user settings at the plugin uninstall process?’ is closed to new replies.