I can't remember in which talk I saw this but there is a codex function to disable the front end altogether.

I am not talking about the blank theme as mentioned here: Disable front end to use as CMS only?

I am talking about shutting down the themes API altogether.

1 Answer 1


There is the constant WP_USE_THEMES which when set to false in wp-config.php disables the theme system on the backend, though it does not completely disable the theme subsystem. I think that is a close as you can get. I am not 100% sure of that though.

  • I'll give this q a day to marinate but this looks like the answer to me! Thanks! Jan 8, 2016 at 21:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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