PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Disable "There is an update available for Gravity Forms" notification

  1. Hi, can you tell me if there is a way to disable the "There is an update available for Gravity Forms" notification in the admin? I'm deploying a site where I have turned off core update notifications, theme update notifications and plugin update notifications, but the Gravity update notification still appears. Can you tell me how to disable this notification (adding something to functions.php is fine and how I disabled the other notifications.)

    Thanks

    Posted 8 years ago on Friday June 24, 2011 | Permalink
  2. The following should do the trick. Place it in your functions.php

    if(is_admin()){
        $dismissed = get_option("gf_dismissed_upgrades");
        $version_info = GFCommon::get_version_info();
        if(!$dismissed || !in_array($version_info["version"], $dismissed)){
            update_option("gf_dismissed_upgrades", array($version_info["version"]));
        }
    }
    Posted 8 years ago on Saturday June 25, 2011 | Permalink
  3. That certainly worked. Thank you very much.

    Posted 8 years ago on Saturday June 25, 2011 | Permalink

This topic has been resolved and has been closed to new replies.