How to disable plugin update notification in WordPress

Feb 24, 2020 | Uncategorized

Sometimes we use crack or null plugins that do not have any activation key. That’s why we can’t update those plugins. This is why it shows a very annoying update notification. If we can disable or remove this update notification in any way, then the problem will be relieved.

This is the solution to remove the WordPress plugin update(as an example I use WPBakery Page Builder) :

Go to your plugins folder(wp-content/plugins/) then copy the plugin name. (Copy 1: js_composer)

Then open the plugin’s folder(wp-content/plugins/js_composer/js_composer.php) then copy the file name. (Copy 2: js_composer.php)

GO to your theme folder and open your functions.php file to edit. (/wp-content/themes/your-theme/functions.php)

 
// Remove update notifications
function remove_update_notifications( $value ) {

    if ( isset( $value ) && is_object( $value ) ) {
        unset( $value->response[ 'folder_name/file_name.php' ] );
    }

    return $value;
}
add_filter( 'site_transient_update_plugins', 'remove_update_notifications' );

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

4 × five =

Related Post

Five Tips to Keep Your WordPress Site Secure

Did you recognize, Oct was National Cybersecurity Awareness Month? This initiative may be a cooperative effort between government and trade to boost awareness concerning the importance of cybersecurity and to make sure that every one Americans have the resources they...

Our Youtube Channel

wp3solution

Free Download

Premium WordPress Theme