WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a client who want's to be given admin access to the dashboard of the test installation of her website on my server.

She hasn't paid me yet so I don't want her to be able to go into the themes menu, copy the theme code and run off without paying.

So, is there a way that I can give her admin access while also blocking her from viewing the Appearance > Editor menu?

share|improve this question
up vote 0 down vote accepted

I would just disable the editor entirely. It is a dangerous tool anyway. I compare it to working on an airplane while its flying. Edit wp-config.php to add:


You can reverse that by re-editing your wp-config.php and uploading over FTP (or maybe you have direct file access), as you should be doing anyway, but no one will be able to get to the editor to mess around with things.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.