Support

Home Forums Translations how to disable automatic new version update messages in EE3 settings page

how to disable automatic new version update messages in EE3 settings page

Posted: March 9, 2014 at 8:42 pm

Viewing 1 reply thread


ken chew

March 9, 2014 at 8:42 pm

HI guys,
Iam helping a non-techie guy manage EE and he sees the message saying that there is a new update available but license key is expired. he thinks that the license expire and will lose functinality. I wish to disable this automatic update message, where do i do this?

thanks
ken


Lorenzo Orlando Caum

  • Support Staff

March 9, 2014 at 9:00 pm

Hi Ken,

This is a bit tricky since your friend is running an older version of Event Espresso. We recommend staying up-to-date otherwise your friend may run into some issues which have already been corrected in the current version.

Here is one workaround:

function remove_pu() {
    if(!current_user_can('administrator')) { ?>
        <style>
        #pu_dashboard_message { display:none; }
        </style>
  <?php }
}
add_action('admin_footer', 'remove_pu');

The code above will hide the notice to all users except for administrators. If needed, you can remove the administrator check and it will hide the notice for all users.

It should go into the theme’s functions.php file.


Lorenzo

Viewing 1 reply thread

The support post ‘how to disable automatic new version update messages in EE3 settings page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso