WordPress后台移除页脚信息

WordPress后台的页面,在页脚有关于WordPress和版本信息,如下图:

WordPress后台页脚信息
WordPress后台页脚信息

一个是:

感谢使用WordPress进行创作。

另一个是版本号:

4.9.8版本

如果把移除了,在 functions.php 中加入:

function change_footer_admin () {
	return '';
}
add_filter('admin_footer_text', 'change_footer_admin', 9999);
function change_footer_version() {
	return '';
}
add_filter( 'update_footer', 'change_footer_version', 9999);

2 thoughts on “WordPress后台移除页脚信息

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注