SQL Query to Update Admin Email
After pushing a staging site to production I have [email protected]
set as the admin email which I need to change. Obviously I can't access that email to verify the change because it doesn't exist so I wrote this query:
UPDATE wp_options SET option_value = '[email protected]' WHERE option_name = 'admin_email'
I found this related answer but I do not use phpMyAdmin.
Is this an OK method to override this? Or is there a more proper method?
Topic email-verification admin database Wordpress
Category Web