Hide upgrade message on recaptcha plugin

Hello,
Plugin URL: https://wordpress.org/plugins/google-captcha/
Site: http://yourtechadvisors.com
This plugin is great. The only downside is that it adds an annoying upgrade message to the top of your plugins page. Clicking the X/Close button will hide it for a little bit, but it will be back soon enough. Can you please right me some code to get rid of it?

Thanks, support access is open.

  • Alex Stine
    • System Administrator

    Hello,
    For anyone else who could benefit from this, here is what I did.

    Open up functions.php and place this code at the bottom.

    /*Add captcha plugin upgrade notice*/
    add_action('admin_head', 'admin_custom_css');
    
    function admin_custom_css() {
    echo '<style>
    .bws_banner_on_plugin_page {
        display: none !important;
    }
    </style>';
    }

    Yes the !important rule is required here, it will not hide the banner without it.

    Thanks, ticket resolved. :smiley:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.