daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Feb 14th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Function which remove Plugin Update Notices */
  2. function disable_plugin_updates( $value ) {
  3.    unset( $value->response['plugin/plugin.php'] );
  4.    return $value;
  5. }
  6. add_filter( 'site_transient_update_plugins', 'disable_plugin_updates' );
RAW Paste Data
Top