Monday, 20 January 2014

Hiding Wordpress Core Update Messages

WordPress updates are too essential for many bloggers but some times it will be pain , some of the word press users does not want to update their previous version of word press to latest version due to compatibility issues. We regularly get these core update messages and unknowingly we will update and loose every thing, in order to hide WordPress core updates here is the simple snippet to add in your functions.php file.


function wp_hide_update() {
    remove_action('admin_notices', 'update_nag', 3);
}
add_action('admin_menu','wp_hide_update');

No comments:

Post a comment