How To Disable WordPress Theme Update Notification (No Plugin)

How To Disable WordPress Theme Update Notification (No Plugin)

After setting up a WordPress theme, updates are not very necessary unless they are security updates. This was the case for one of our clients, hence the need to disable WordPress theme update notification that kept popping up annoyingly.

Note: This tutorial uses the Twenty Twenty One WordPress theme.

You can disable the WordPress update notification/nag for an individual theme with the following code snippet added to your theme’s functions.php:

Make sure to replace the Twenty Twenty One (twentytwentyone) value with your specific theme’s text domain substitute.

You can find your theme’s text domain by:

  1. Login to your WordPress dashboard
  2. Go to the Appearance menu option on the Admin menu
  3. Select the last option, Theme Editor
  4. On the Stylesheet (style.css) file, search for the text domain.
  5. That is your WordPress theme’s text domain.

Here is an image of the same:

WP Theme text domain

You can read more about the text domains here.

This snippet added to functions.php or a custom plugin will hide/disable the update notification for a single individual WordPress theme.

Article based off Red Bridge Internet’s tutorial.

Leave a Reply

Your email address will not be published. Required fields are marked *