[英]Hide “Update” item on wordpress admin menu
I'm trying to hide this item in the admin: 我正在尝试在管理员中隐藏该项目:
I have already removed the updated message using this: 我已经使用以下命令删除了更新后的消息:
add_action('admin_menu','wphidenag');
function wphidenag() {
remove_action( 'admin_notices', 'update_nag', 3 );
}
But I haven't found a solution to this item, any ideas to do it the proper way, not with css? 但是我还没有找到解决这个问题的办法,有没有办法以正确的方式来解决这个问题,而不是使用CSS?
Done some googling. 做一些谷歌搜索。 You could try this method: 您可以尝试以下方法:
http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/?replytocom=81 http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/?replytocom=81
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.