Skip to content
Prem Tiwari
  • WP Tutorials
  • Plugins
  • About Me
  • Featured On
  • Let’s Talk
Prem Tiwari
Home / WordPress Tutorials / How to disable admin footer in WordPress

How to disable admin footer in WordPress

ByPrem Tiwari Last updated onSeptember 6, 2023

In this tutorial, you will get to know how to disable the admin footer in WordPress, you can use a code snippet in your theme’s functions.php file or in a custom plugin. Here’s how you can achieve that:

  1. Using a Theme’s functions.php File:

Open your theme’s functions.php file (located in the wp-content/themes/your-theme-name/ directory) and add the following code at the end:

function remove_admin_footer_text() {
    echo '';
}

add_filter('admin_footer_text', 'remove_admin_footer_text');

Save the functions.php file and the admin footer text should now be removed.

2. Creating a Custom Plugin:

If you prefer to keep your modifications separate from the theme, you can create a custom plugin. Here’s how:

  • Create a new directory in wp-content/plugins/ and give it a name, for example, “custom-admin-footer-remover”.
  • Inside that directory, create a new PHP file, e.g., “custom-admin-footer-remover.php”.
  • Open “custom-admin-footer-remover.php” in a code editor and add the following code:
<?php
/*
Plugin Name: Custom Admin Footer Remover
Description: Removes the admin footer text.
*/

function remove_admin_footer_text() {
    echo '';
}

add_filter('admin_footer_text', 'remove_admin_footer_text');

Now, go to your WordPress admin area and navigate to Plugins > Installed Plugins. You should see your newly created plugin listed there. Activate it.

After activating the plugin, the admin footer text should be removed from the WordPress admin area.

Note: Remember that removing or modifying core WordPress functionality can have unintended consequences or affect the user experience. It’s a good practice to create a backup of your site before making any significant changes.

Found it helpful? Share it with your friends on social media!

  • Facebook
  • Post on X
  • LinkedIn
Post Tags: #WordPress#WordPress admin
Prem Tiwari

Prem Tiwari is a passionate advocate of open source technology, with over 10+ years of experience in the WordPress domain. He has great experience when it comes to scaled WordPress projects which caters the need for big enterprise clients on WordPress and WordPress VIP-GO platform.

Facebook Twitter Instagram YouTube Linkedin

Post navigation

Previous Previous
Extra Fee on cart for WooCommerce
NextContinue
How to remove additional information from WooCommerce store

Collections

  • Crawling and indexing
  • Meetup
  • PHP
  • Plugins
  • SEO
  • Tech Talks
  • WooCommerce Tutorials
  • WordCamp
  • WordPress Tutorials
  • Privacy
  • Cookies
  • Disable Update Notifications
Facebook Twitter Instagram YouTube Linkedin WordPress
Scroll to top
  • WP Tutorials
  • Plugins
  • About Me
  • Featured On
  • Let’s Talk