Grant super admin rights to an WordPress user via Database query

Geschreven op 13 september 2019 door Philip Vergunst

The following MySQL query can be used to grant a WordPress user super admin rights. Replace [UID] with the actual user ID.

UPDATE wp_usermeta SET meta_value='a:1:{s:13:"administrator";b:1;}' WHERE meta_key='wp_capabilities' AND user_id=[UID];

Reactie toevoegen

Plaats hier uw naam.