Prevent update check for specific theme


I’m working on a custom theme that lives in /var/www/html/wp-content/themes/custom/. It’s for internal use, so it doesn’t matter if there’s a theme with the same name on the wordpress site.

But wordpress performs an update check, finds a theme with the same name, which has a newer version number, and so asks me to upgrade.

Is there a way to suppress this behavior without renaming my theme and without fiddling with version numbers? I don’t want the check to be performed at all.

(BTW define('AUTOMATIC_UPDATER_DISABLED', true) doesn’t help.)

, , lonix 3 years 2019-12-06T02:07:37-05:00 0 Answers 72 views 0

Leave an answer