How to hide and disable WP plugin updates

Sometimes when situation becomes very unfavourable and installed wordpress plugin not supported filter and hook to add_filters, In these type of situation we can hide or disable plugin updates.

1. Go to particular plugin folder and increase Version to very higher which actually pluing will never reach in this era. Example: ajax-search.php Version: 999.0.0
2. Hide ‘There is a new version’ notification from CSS, each plugin message row has unique id tag and child class named ‘update-message’
3. Use below code in themes folder function.php file

function filter_plugin_updatesasw( $value ) {
    unset( $value->response['ajax-search/ajax-search.php'] );
    return $value;
add_filter( 'site_transient_update_plugins', 'filter_plugin_updatesasw' );

Suppose we have a pluing with name: ajax-search, go to plugin folder -> ajax-search folder open file ajax-search.php change version in this file. CSS style should be like #ajax-search-update .update-message{display:none;}

How to hide and disable WP plugin update

Similar Posts

Leave a Reply

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