WP Local Toolbox
Through constants defined in wp-config, you can disable plugins, disable the loading of external files, set search engine visibility, display or hide the admin bar, display the server name and change the color of the…
Consider an alternative
WP Local Toolbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 4.6/5 and was last updated 11 years ago, and scores 35/100 on our health check.
- Small user base (70+ active installs)
- No update in 11 years
- Only tested up to WordPress 4.2 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WP Local Toolbox stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| admin | >100 |
| administration | >100 |
| dashboard | >100 |
| notification | >100 |
| responsive | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.6 from 7 reviews
About WP Local Toolbox
From the official readme · v1.2.3Description
Through constants defined in wp-config, you can disable plugins, disable the loading of external files, set search engine visibility, display or hide the admin bar, display the server name and change the color of the admin bar, or literally anything else you can think of. All without touching the database, so you can push and pull without worrying.
For support, pull requests, and discussion: https://github.com/joeguilmette/wp-local-toolbox
Admin Bar
Change the color of your admin bar and display the name of the current server environment. Green for local, orange for staging, and of course, red for production. You can also force the front end admin bar to hide, to display, and can even set it to display when logged out.
-
WPLT_SERVER: The name of your server environment. It will be displayed in the admin bar at browser widths greater than 1030px. If left undefined, the plugin will make no changes to the admin bar.
If not defined as
PRODUCTIONorLIVE, the plugin will enable ‘Discourage search engines from indexing this site’ to prevent your development and staging servers from being indexed. This option is not stored in the database, so your production server will still look to the actual setting on the Reading page. -
WPLT_COLOR: Determines the color of the admin bar. You can set this to any CSS color. If left undefined, will use the following defaults:
- PRODUCTION / LIVE: red
- STAGING / TESTING: orange
- LOCAL / DEV: green
-
WPLT_ADMINBAR: Show or hide the admin bar on the frontend.
FALSEwill force it to be hidden,TRUEwill force it to display,ALWAYSwill display the admin bar even when logged out. These settings will override the ‘Show toolbar’ setting in the ‘Users > Your Profile’ options panel andadd_filter('show_admin_bar', '__return_false');in functions.php, but doesn’t attempt to overcome any CSS based hiding of the admin bar.
In wp-config.php:
// set server environment to 'LOCAL'
define('WPLT_SERVER', 'local');
// set admin bar color to #800080
define('WPLT_COLOR', 'purple');
// show the admin bar even when logged out
define('WPLT_ADMINBAR', 'always');
Disable Plugins
Pass a serialized array in this constant to disable plugins. This does not store any data in the database, so plugins that are manually deactivated or activated through the admin panel will stay so.
In order for this feature to function properly, WP Local Toolbox must be installed as an mu-plugin. You can read more about mu-plugins here: https://codex.wordpress.org/Must_Use_Plugins. We’re investigating ways to avoid this requirement; if you have any ideas we’d love to hear it!
- WPLT_DISABLED_PLUGINS: A serialized array of plugins to disable.
In wp-config.php:
// deactivate a set of plugins
define('WPLT_DISABLED_PLUGINS', serialize(
array(
'hello-dolly.php',
'w3-total-cache/w3-total-cache.php',
'updraftplus/updraftplus.php',
'wordpress-https/wordpress-https.php'
)
));
Post Update Notifications
Receive notifications when any page, post, or attachment is added or updated. Notifications can be received via email, or can be sent to a Slack channel via their Incoming WebHook API.
This is helpful in production to see if a client has submitted a new post, or in development to see if data is being added to the staging environment so you don’t accidentally overwrite new posts when pushing databases around.
-
WPLT_NOTIFY: Define this constant as the email address where you’d like to be notified of post updates. You can specify either an email address or a Slack Incoming WebHook URL. You can set up a Slack Incoming WebHook URL here: https://my.slack.com/services/new/incoming-webhook/
-
WPLT_NOTIFY_CHANNEL: If WPLT_NOTIFY is set to a Slack Incoming WebHook URL, you can specify the channel that the notification will be posted to. If left unset, it will post to the default channel specified in Slack’s Incoming WebHooks settings page.
-
WPLT_DISABLE_ATTACHMENT_NOTIFY: If set, this will disable notifications for attachments.
In wp-config.php:
// send an email to someone@somewhere.com
// whenever any post or page is updated
define('WPLT_NOTIFY','someone@somewhere.com')
// or, send a notification to a Slack channel
define('WPLT_NOTIFY', 'https://hooks.slack.com/services/etc');
define('WPLT_NOTIFY_CHANNEL','#channel');
Airplane Mode
Control loading of external files when developing locally. WP loads certain external files (fonts, gravatar, etc) and makes external HTTP calls. This isn’t usually an issue, unless you’re working in an evironment without a web connection. This plugin removes / unhooks those actions to reduce load time and avoid errors due to missing files.
On and Off: Can be toggled from the admin bar by clicking ‘Airplane Mode’. In the admin bar a ✗ or ✓ will indicate if Airplane Mode is enabled or disabled.
- WPLT_AIRPLANE: Set this to anything to enable the Airpane Mode toggle.
In wp-config.php:
// enable the Airplane Mode toggle
define('WPLT_AIRPLANE', 'true');
Modification
You can add code that will be executed depending on server name by modifying the following in wp-local-toolbox.php.
I’d love a pull request if you come up with something useful.
if (strtoupper(WPLT_SERVER) != 'LIVE' && strtoupper(WPLT_SERVER) != 'PRODUCTION') {
// Everything except PRODUCTION/LIVE SERVER
// Hide from robots
add_filter( 'pre_option_blog_public', '__return_zero' );
} else {
// PRODUCTION/LIVE SERVER
}
Notes
As a special thank you, this plugin will remove the ridiculous Howdy, that is prepended to the username in the admin bar.
You’re welcome.
Credit
-
Plugin disabling from Mark Jaquith: https://gist.github.com/markjaquith/1044546
- Using this fork from Andrey Savchenko: https://gist.github.com/Rarst/4402927
-
Airplane Mode from Andrew Norcross: https://github.com/norcross/airplane-mode
-
Always showing the admin bar from Jeff Star: http://digwp.com/2011/04/admin-bar-tricks/
Installation
After installation, you must define constants in the wp-config.php file.
In order for the Disable Plugins feature to function properly, WP Local Toolbox must be installed as an mu-plugin. You can read more about mu-plugins here: https://codex.wordpress.org/Must_Use_Plugins. We’re investigating ways to avoid this requirement; if you have any ideas we’d love to hear it!
Changelog
1.2.2
- Update Airplane Mode to latest (f9e8bc1cc0)
1.2.1
- Added support for Slack API with WPLT_NOTIFY
- Enhanced WPLT_NOTIFY to correctly report all post types
- Added a WPLT_ADMINBAR to control front end admin bar – it can now be:
- Forced to be hidden
- Forced to display
- Forced to display even when logged out
- Continued tradition of 30:1 readme:code commits
1.2
- Added to WordPress Plugin Repository
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WP Local Toolbox alternatives
All admin plugins →FAQ
WP Local Toolbox: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WP Local Toolbox free?
Yes. WP Local Toolbox is free to download and use from the official WordPress.org plugin directory.
Is WP Local Toolbox safe to use in 2026?
WP Local Toolbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 4.6/5 and was last updated 11 years ago, and scores 35/100 on our health check.
How many websites use WP Local Toolbox?
WP Local Toolbox is active on 70+ WordPress websites and has been downloaded 7,635 times since it launched in April 2015. It was downloaded 129 times in the last 30 days.
Does WP Local Toolbox work with WordPress 7.1?
WP Local Toolbox is officially tested up to WordPress 4.2.39, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WP Local Toolbox last updated?
The latest version, 1.2.3, was released on June 25, 2015 (11 years ago).
Who makes WP Local Toolbox?
WP Local Toolbox is developed and maintained by joeguilmette.
What are the best alternatives to WP Local Toolbox?
The most popular alternatives to WP Local Toolbox are Loginizer (1M+ installs), Redux Framework (800K+ installs) and Admin Menu Editor (300K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
