info@martej.com
One-Stop Developer Agency

How to remove Thank you for creating with WordPress

Last update: 23/02/2023

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.

Text at the bottom of admin page in WordPress

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>';
}

Leave the first comment