1.提示如下:
1.1.
方法:修改主题文件夹中的 function.php 文件,添加以下代码即可。//去除主题更新提示
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
//去除插件更新提示
remove_action( 'load-update-core.php', 'wp_update_plugins' ); add_filter( 'pre_site_transient_update_plugins', create_function( '$b', "return null;" ) );