How to rename a custom field?

I found the answer

UPDATE `wp_postmeta` SET `meta_key` = 'ref' WHERE `meta_key` = 'refer'

use this part in your SQL

Reference

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)