How To Remove the License Expired (Support Renewal) Nag Notice in WP Admin?

NOTICE: Please update your theme to the latest version, where we removed this notice and it will not longer be shown, after your theme license expires.


When your theme license expires, you will see a similar notice at the top of the wp-admin screen:

First of all, your theme will continue to work even with this notice. Nothing will change for the visitors of your website with our theme, even when your license expires.

Why It’s Important to Extend the Theme License

There are serious downsides, if you’re using an expired license.

The first good reason to extend the license is straightforward: you will be able to automatically update the theme within the WordPress admin screen.

The second reason is more complex but even more important. Keeping all of our themes up to date and compatible with all the WordPress core updates, plugin updates, and new browser versions is of extreme importance at ProteusThemes. With 20+ themes under our belt, it takes lots of development time to keep all our products in good shape. When we’re talking to our customers, many of them express their frustration when dealing with other WP theme providers, who abandon future development of their themes, so they are not compatible anymore with newer WordPress core/plugins updates. As a consequence, these theme buyers have two options: either to convince their clients to invest again in the brand-new website redesign (which usually involves huge costs between $500 and $5,000) or setup a whole new website from scratch, using another free theme and make a big loss.

In order to prevent that situation for you, we want to be the theme provider you can rely on for years. So far, we’ve never abandoned any of our themes and neither we have plans to. But as mentioned above, keeping products in good shape takes development time, and development time costs us money. We’re a company and we can be there for you, if we aren’t making a loss at the end of the day. I cannot be more transparent than this with you.

At the end of the day, the investment in the license extensions is very low, compared to the second scenario, when you have to create a new WordPress website from the ground up with the new theme.

How to Hide the Nag Notice

Here are three options to do that.

1. Extend the License (recommended)

Login to your ProteusThemes Dashboard and extend the license for your theme. This will get rid of the notice. This is the recommended way (see above).

2. Via the PHP Filter

If you are absolutely sure that you don’t want to extend the license and keep the theme updated, you can disable the notices via PHP code. You should put the following code in your child theme’s functions.php:

function pt_disable_support_expiration_notice() {
    if ( is_admin() ) {
        remove_action( 'admin_notices', array( ProteusThemes\ThemeRegistration\ThemeRegistration::get_instance(), 'purchase_code_has_expired_admin_notice' ) );
add_action( 'after_setup_theme', 'pt_disable_support_expiration_notice' );

3. Via WP Plugin

The third way is to remove all the wp-admin notices with this plugin.

If you don’t want to extend the license, we understand. But don’t be surprised, when we deprecate your theme because it’s not sustainable for us anymore and you have to convince your client into website redesign.