Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SQL: Replace User Meta Key
UPDATE wp_usermeta SET meta_key = REPLACE (meta_key, 'old_name', 'new_name');
UPDATE myprefix_usermeta SET meta_key = REPLACE (meta_key, 'old_name', 'new_name');

This comment has been minimized.

Copy link
Owner Author

commented Feb 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.