Is there anyway to remove version number from the right side of WordPress admin footer?
I know this code will add some text before the version number, but it will not remove it:
function change_footer_version() {
echo 'Anything';
}
add_filter( 'update_footer', 'change_footer_version', 9999 );
And the following code will do nothing:
function change_footer_version() {
return ' ';
}
add_filter( 'update_footer', 'change_footer_version', 9999 );
So, is there anyway to remove the entire <div>
from the template or anything with functions.php
file?
Add this to your
functions.php
:or, if you’d like to hide it from everyone except admins:
The other answer is not working for my site. I tried this script instead and it works fine for removing the WordPress version number from the right footer of admin pages:
Add this simple code into your function.php file: