How to Change Footer Text in WordPress Admin Panel

Home » Snippets » How to Change Footer Text in WordPress Admin Panel

Created with:



Creator: WPTurbo Team

Customize with WPTurbo AI

Add Snippet To Project

New Project
Add To Existing Project

Are you tired of seeing the default "Thank you for creating with WordPress" text in the footer of your WordPress admin panel? Maybe you want to customize it with your own branding or message. Luckily, changing the footer text in WordPress admin is a quick and easy process. In this article, we will guide you through the steps to change the footer text and make your WordPress dashboard your own.

					function wpturbo_change_admin_footer_text( $text ) {
     $new_text = 'Your new footer text goes here.';
     return $new_text;
add_filter( 'admin_footer_text', 'wpturbo_change_admin_footer_text' );

In this tutorial, we will learn how to change the default footer text in the WordPress admin panel using a simple code snippet.

Let’s break down the code snippet:

First, we define a new function called wpturbo_change_admin_footer_text, which takes a single parameter $text. This function will be responsible for changing the admin footer text.

Next, we create a new variable called $new_text and set it to the custom footer text we want to display. Make sure to replace "Your new footer text goes here." with your desired footer text.

$new_text = 'Your new footer text goes here.';

Finally, we use the return statement to return the new footer text, which will override the WordPress default footer text.

return $new_text;

The last step is to hook the newly created function into the admin_footer_text filter using the add_filter function:

add_filter( 'admin_footer_text', 'wpturbo_change_admin_footer_text' );

Now whenever WordPress renders the admin footer text, it will use our custom text instead of the default text.

This code snippet can be modified to change other areas of the WordPress admin by using different filters. With a little bit of tinkering, you can customize the WordPress admin to fit your specific needs.

Register an account to save your snippets or go Pro to get more features.