WordPress tutorials: Disable update nag

Wpsnipp – Completely disables the core update checking system in WordPress. The plugin prevents WordPress from checking for updates, and prevents any notifications from being displayed in the admin area. Ideal for administrators of multiple WordPress installations.Adding this to your functions.php file of your wordpress theme will disable the update nag displayed within the wordpress admin.



if (!current_user_can('edit_users')) {
add_action('init', create_function('$a', "remove_action('init', 'wp_version_check');"), 2);
add_filter('pre_option_update_core', create_function('$a', "return null;"));

Leave a comment