How to remove Thank you for creating with WordPress

| July 21, 2022 (Updated July 24, 2022)

At the bottom of WordPress Admin page, there is a generic text that we will show in this tutorial how to remove or change it.

Below is the code to remove the text altogether. Be aware that we have to give priority parameter to 999 (or any other high value), so that our function executes as late as possible. You can try without it, but you will see that it may not work.

function remove_footer_admin_text () 
{
    echo '';
}
 
add_filter('admin_footer_text', 'remove_footer_admin_text',999);

And the following code replaces the text with something else. In this example, we replaced it with “Thank you for trusting Martej.com

function change_footer_admin () 
{
    echo '<span id="footer-thankyou">Thank you for trusting <a href="https://www.martej.com" target="_blank">Martej.com</a></span>';
}
 
add_filter('admin_footer_text', 'change_footer_admin',999);

Leave the first comment