WordPress: Remove/Change the Text and Version Number in the Admin Footer

For my first real post, I thought I’d start with something quick and easy: changing the bit of text in your admin footer without a plugin. We use this with Interrupted Reality to display more relevant links and hide the version number. For reference, I’m talking about these two bits of text:

WordPress has two nifty filters that are helpful here: ‘admin_footer_text’ to alter the text on the left (“Thank you for creating…”) and ‘update_footer’ to alter the text on the right (“Version X”). Now, a full, working code example:

add_filter( 'admin_footer_text', 'my_footer_text' );
add_filter( 'update_footer', 'my_footer_version', 11 );

function my_footer_text() {
    return 'I am a WordPress banana.';
}

function my_footer_version() {
    return 'Version Over 9000';
}

Drop that into your theme’s functions.php file or a little custom plugin, changing the returned text to whatever you want, and that’s it.

If you want to remove either line completely, you can return an empty string:

return '';

If you’re looking to add some text instead, these filters pass the existing text through an argument. Just add a parameter to your functions:

add_filter( 'admin_footer_text', 'my_footer_text' );
add_filter( 'update_footer', 'my_footer_version', 11 );

function my_footer_text( $default ) {
    return $default . ' Also, I am a WordPress banana.';
}

function my_footer_version( $default ) {
    return 'Not ' . $default;
}