Best practice way to delete user meta data during plugin uninstall?
You should not access the database directly, if at all possible. There are two main reasons for this: If the database structure changes (unlikely), your queries may become outdated. Using functions like delete_user_meta() will ensure that your query should work properly for all WordPress versions (past, present, and future) that support that function. Caching. If … Read more