WordPress Plugin – Notify Admin Only of WP Updates

Update: This plugin is tested and known to be working with WP 2.9.1

ok, with the release of WordPress 2.8.3 – if finally got around to upgrading my Notify Admin Only plugin to work with WP 2.8+

Download Plugin: Notify Admin Only v2.0

in case you’re not sure what this plugin actually does, well, it removes this text from the backend that says: “A new version of WordPress is available! Please notify the site administrator” – (see the images below).

great for admins who don’t want their many users to ever see the WordPress Update nag.

wp notifying the admin

anyway the new code is really simple: (thanks Lazzymonk)


< ?php
function stop_wpupdate() {
if ( current_user_can('manage_options') ) {
return;
} else {
remove_action( 'admin_notices', 'update_nag', 3 );
}
}
add_action( 'admin_notices', 'stop_wpupdate', 1 );
?>

the old plugin is here and only works for WP 2.3 – 2.5 series.

Comments 3

  1. ualakasta wrote:

    great post

    Posted 02 Sep 2017 at 5:59 am
  2. tamarakatc wrote:

    look my site

    Posted 08 Sep 2017 at 9:14 am
  3. ewoluvan wrote:

    check here more

    Posted 14 Sep 2017 at 7:16 am

Post a Comment

Your email is never published nor shared. Required fields are marked *