Created
February 23, 2023 12:53
-
-
Save ipokkel/c19f4d14178c99dc92b9f7cbc95bef96 to your computer and use it in GitHub Desktop.
Example SQL of how to change a user meta meta key in the wp_usermeta table (note: your table prefix may differ from the default `wp_`). Always create a full database backup that you can restore to before making any changes to your database.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_usermeta SET meta_key = 'first_name' WHERE meta_key = 'first-name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment