Loading...

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 *

twenty − seven =

Related Post

NEW ACTIVATION KEY 2020 ESET INTERNET Security 2020 to 2022

✔️ESET NOD32 Antivirus 13.0.24.0 License Key 2022✔️ ✔️ABDJ-XGVJ-935H-GMT6-8BRP 10-18-2021 (2 devices) ✔️BGTC-X6KM-B4JN-P47V-WSW7 04-02-2022 (28 devices) =================(*_*)-----(*_*)=================== ✔️A5M2-XST5-BJK5-HRT4-UDS3 26-10-2020 (2 devices)...

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