Disable the plugin update in wordpress plugin

If we have customized some of the our required plugin of wordpress. where we have customized some of that plugin function css pages and many more thing. There will be the chance of plugin update with if pluing have newer version in wordpress library.

For preventing these type of unwanted changes on plugin update file we need to add the some filter on wordpress function.

For example we have plugin named

pkb_advertise-pop [folder name of plugin]

pkb_advertise-pop.php  [pugin defination file name]


We need add the filter on our function.php file.

function my_filter_popupadvertise_plugin_updates( $value ) {
unset( $value->response[‘pkb_advertise-pop/pkb_advertise-pop.php’] );
return $value;
add_filter( ‘site_transient_update_plugins’, ‘my_filter_popupadvertise_plugin_updates’ );



Share this Story:
  • facebook
  • twitter
  • gplus

Leave a comment

Facebook Comment