Mungkin anda merasa tidak nyaman dengan adanya notifikasi update baik itu plugins,wordpress versi atau juga lainnya..jadi berikut langkah untuk menghilangkan notifikasi update wordpress.
1.Menghilangkan notifikasi update plugins
masukkan kode berikut pada function.php yang ada pada tema aktif anda.
remove_action ( 'load-update-core.php' , 'wp_update_plugins' ); add_filter ( 'pre_site_transient_update_plugins' , '__return_null' ); 2.Menghilangkan semua notifikasi update pada wordpress Masukkan kode berikut juga pada function.php function remove_core_updates (){ global $wp_version ; return ( object ) array ( 'last_checked' => time (), 'version_checked' => $wp_version ,); } add_filter ( 'pre_site_transient_update_core' , 'remove_core_updates' ); add_filter ( 'pre_site_transient_update_plugins' , 'remove_core_updates' ); add_filter ( 'pre_site_transient_update_themes' , 'remove_core_updates' ); 3.Menghilangkan notifikasi update pada core update wordpress Masukkan kode berikut juga pada function.php
add_action ( 'after_setup_theme' , 'remove_core_updates' ); function remove_core_updates () { if (! current_user_can ( 'update_core' )){ return ;} add_action ( 'init' , create_function ( '$a' , "remove_action( 'Init', 'wp_version_check' );" ), 2 ); add_filter ( 'pre_option_update_core' , '__return_null' ); add_filter ( 'pre_site_transient_update_core' , '__return_null' ); }
Selamat Mencoba,Semoga hasil Sangat Memuaskan..