Welcome to GPLDL - we are still beta - please report any bugs via the contact form.

GPLDLGPLDL
GPLDL
Download the most popular GPL licensed Premium WordPress Themes & Plugins and WooCommerce Extensions for FREE!
  • Blog
    • Blog Articles
    • Latest Updates & Additions
  • Repository
    • Full Repository
    • Premium WordPress Themes
    • Premium WordPress Plugins
    • Premium WooCommerce Extensions
    • Special Gifts for Premium Members
    • Tutorials
  • Forum
  • Free Membership
  • Donations
  • My GPLDL Account
  • Sign In
Menu back  

How to remove Gravity Forms nag

  • This topic has 6 replies, 1 voice, and was last updated 1 month ago by rfmurphy81.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 5, 2017 at 9:52 pm #19497
    Huxu Wu
    Participant

    Hi,

    I just want to share with you on removing the nag that Gravity Forms have placed. They got tricky and instead of using a function or remotely displaying a message, they saved the nag into your database.

    To deactivate nag message, first go to common.php and disable the function from updating cache message:

    public static function cache_remote_message() {
    //update_option( ‘rg_gforms_message’, $message );
    }

    Then go to database “wp_options” and search for “rg_gforms_message”:

    Empty the value and save.

    That’s it!

    November 5, 2017 at 9:57 pm #19498
    Huxu Wu
    Participant

    Here are screenshots and proof:

    wp admin: https://snag.gy/wG9ZOi.jpg
    mysql: https://snag.gy/J5uveg.jpg

    November 5, 2017 at 10:11 pm #19499
    Huxu Wu
    Participant

    Okay, here is the final answer so you DO NOT need to edit any Gravity plugin form files or install additional plugins:

    function remove_gravity_forms_nag() {
    	update_option( 'rg_gforms_message', '' );
    	remove_action( 'after_plugin_row_gravityforms/gravityforms.php', array( 'GFForms', 'plugin_row' ) );
    }
    add_action( 'admin_init', 'remove_gravity_forms_nag' );

    Just copy and paste into your own plugin or theme functions.php file!

    • This reply was modified 5 years, 4 months ago by Huxu Wu. Reason: added code tag
    November 5, 2017 at 10:44 pm #19502
    Wasana James
    Participant

    thnx, nice share

    November 6, 2017 at 12:32 am #19503
    Huxu Wu
    Participant

    Took me a while to debug the plugin, but very tricky guys.

    December 4, 2017 at 11:59 am #19564
    Angel Real
    Participant

    This worked great for me in the My Custom Functions plugin! :) Only thing I noticed it only worked for the main Gravity Forms listing on the Plugins page. Can this be configured to also work for any add-ons as I have ‘Gravity Forms MailChimp Add-On’ still showing the register text?

    February 18, 2023 at 3:43 pm #24967
    rfmurphy81
    Participant

    This doesn’t seem to work for me. Perhaps the hook changed. Does anyone have a version that works with the newer versions of this plugin?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In
Search the Repository
We reward your Donations!
We need your Donation to maintain and grow the GPLDL WordPress Repository - and we reward your generosity with Premium Memberships allowing you to download even more files.

Learn more about donations & rewards...
News from our blog
  • Some common use cases for the Gravity Forms WordPress Plugin
    December 19, 2022
  • How to write your own WordPress Theme from scratch?
    December 19, 2022
  • How to create a Child Theme for your WordPress Theme?
    December 19, 2022
Latest Updates & Additions
  • GPLDL News: 101 Updates & Additions today – Download 2313 Premium WordPress items!
    March 19, 2023
  • GPLDL News: 151 Updates & Additions today – Download 2307 Premium WordPress items!
    March 12, 2023
  • GPLDL News: 118 Updates & Additions today – Download 2288 Premium WordPress items!
    March 5, 2023
Tags
check code Copyright distribution Download Drupal fork forked fsf FTP functions.php GNU Public License GPL Guide HowTo Instructions Legal license Magento manually nulled PHP Plugin Plugins Premium redistribution remove Rights Search Engine Optimization secure SEO serial step by step style.css Themes true tutorial Update usage Website WooCommerce wordpress WordPress Plugins WordPress Theme WordPress Themes
Welcome to GPLDL!
scr02We love innovation and we believe in free software!

That's why we strive to make the world's best Premium WordPress Themes & Plugins and WooCommerce Extensions & Themes available for everyone!

Find us on:

FacebookTwitterRssPinterestWebsite
Latest Blog Posts
  • Some common use cases for the Gravity Forms WordPress Plugin
    December 19, 2022
  • How to write your own WordPress Theme from scratch?
    December 19, 2022
  • How to create a Child Theme for your WordPress Theme?
    December 19, 2022
Latest Updates & Additions
  • GPLDL News: 101 Updates & Additions today – Download 2313 Premium WordPress items!
    March 19, 2023
  • GPLDL News: 151 Updates & Additions today – Download 2307 Premium WordPress items!
    March 12, 2023
  • GPLDL News: 118 Updates & Additions today – Download 2288 Premium WordPress items!
    March 5, 2023
About GPLDL
  • About GPLDL
  • Need Help?
  • F.A.Q.
  • Terms of Service
  • Privacy Policy
  • Contact
GPLDL - all Rights reserved.
  • About GPLDL
  • Need Help?
  • F.A.Q.
  • Terms of Service
  • Privacy Policy
  • Contact
  • Sign In
GPLDL Widget Menu