Is there a setting for new disabling new yearly themes? Each year my WordPress installation automatically installs a new theme which I then delete. For example, this year the theme Twenty Twenty-Two was installed.

I already have a theme I like and I'm never going to want to use the newest theme of the year. I'm hoping there is some way to prevent WordPress from automatically installing these new themes in the future.

A few years ago somebody asked How to delete default themes? I already know how to delete the themes and they never got an answer about how to prevent them from being installed to begin with. There is also the question Should I delete the default themes? which is related, but doesn't actually answer my question.

1 Answer 1


Looking through some resources, I found this track ticket which discusses the same topic. It seems the following will stop it, add it to your wp-config.php:

  • 6
    I updated my config with this setting and confirmed that the site doesn't break. I have a second WordPress site that hadn't been updated in a year. I put this setting in for it, and then performed the updates. No new themes were installed. Since new themes are usually installed with these updates, I can confirm that this setting works. Commented Mar 24, 2022 at 14:54
  • 1
    @StephenOstermiller Thanks for confirming and happy that it solved the issue!
    – kero
    Commented Mar 24, 2022 at 16:50

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.