You may have noticed when you log in to your WordPress dashboard, there is a “Thank you for creating with WordPress.” message and the WordPress version at the bottom of the page. And you may need to scroll down to see the message if you have a lot of plugins that install their own menu. Some people may want to remove those texts to have a clean dashboard or maybe alter the message to their own custom message.
This tutorial will show you how to remove the default footer text from your WordPress dashboard and how to change the thank you message to your own custom message.
Removing Default Footer Text from WordPress Dashboard
To remove the footer text from your WordPress dashboard, start by login into your WordPress admin page and navigating to Appearance → Theme File Editor (if you use a block theme, you can find theme file editor under the Tools menu). On that page, click on the Theme Function (functions.php) from the Theme Files list to open up its file editor. Once the editor opens, add the following code to the bottom of the file editor.
- The code to remove the “thank you message” on the left side
add_filter( 'admin_footer_text', '__return_false' );
- The code to remove the “WordPress version” on the right side
function wppversionremove() { remove_filter( 'update_footer', 'core_update_footer' ); } add_action( 'admin_menu', 'wppversionremove' );
Once you’ve added the code to the file, save the changes you made to it by clicking the Update File button. By now you should have a dashboard without any footer text on it.
However, if you want to show the WordPress version only to the administrator-level user, you can use the code below instead.
function wppadminversion() { if ( ! current_user_can( 'update_core' ) ) { remove_filter( 'update_footer', 'core_update_footer' ); } } add_action( 'admin_menu', 'wppadminversion' );
Altering the Default Thank You Message on WordPress Dashboard
To change the default “thank you message” on your WordPress dashboard to your own custom message, you can do so by adding the following code to your theme functions.php file.
function wppchangemessage(){ return 'Your <a href="https://www.yourlink.com/" title="link tooltip" target="_blank">website</a>'; } add_filter( 'admin_footer_text', 'wppchangemessage' );
Continue by altering the text and the link from the return
statement to your own message and link, and once you’re ready, save the changes by clicking on the Update File button.
The Bottom Line
Some people may want to remove the thank you message and the WordPress version from the bottom of the WordPress dashboard page to have a clean dashboard or maybe alter the message to their own custom message. For that, we created this tutorial to explain how to remove those default footer text or show the WordPress version only for the admin-level user. And This tutorial also explains how to alter the default “thank you message” to your own custom message if you want to change it.