[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fKty9OFckL24d6etj7daVp7nK-KwIOpMZ5j5BmdIZGYo":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"joeguilmette","https:\u002F\u002Fprofiles.wordpress.org\u002Fjoeguilmette\u002F",1,90,85,30,84,"2026-04-04T15:31:31.255Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":8,"vuln_count":33,"unpatched_count":33,"last_vuln_date":34,"fetched_at":35},"wp-local-toolbox","WP Local Toolbox","1.2.3","\u003Cp>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.\u003C\u002Fp>\n\u003Cp>For support, pull requests, and discussion: https:\u002F\u002Fgithub.com\u002Fjoeguilmette\u002Fwp-local-toolbox\u003C\u002Fp>\n\u003Ch4>Admin Bar\u003C\u002Fh4>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>\u003Cstrong>WPLT_SERVER\u003C\u002Fstrong>: 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.\u003C\u002Fp>\n\u003Cp>If not defined as \u003Ccode>PRODUCTION\u003C\u002Fcode> or \u003Ccode>LIVE\u003C\u002Fcode>, 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.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>WPLT_COLOR\u003C\u002Fstrong>: Determines the color of the admin bar. You can set this to any CSS color. If left undefined, will use the following defaults:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>PRODUCTION \u002F LIVE: red\u003C\u002Fli>\n\u003Cli>STAGING \u002F TESTING: orange\u003C\u002Fli>\n\u003Cli>LOCAL \u002F DEV: green\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>WPLT_ADMINBAR\u003C\u002Fstrong>: Show or hide the admin bar on the frontend. \u003Ccode>FALSE\u003C\u002Fcode> will force it to be hidden, \u003Ccode>TRUE\u003C\u002Fcode> will force it to display, \u003Ccode>ALWAYS\u003C\u002Fcode> will display the admin bar even when logged out. These settings will override the ‘Show toolbar’ setting in the ‘Users > Your Profile’ options panel and \u003Ccode>add_filter('show_admin_bar', '__return_false');\u003C\u002Fcode> in functions.php, but doesn’t attempt to overcome any CSS based hiding of the admin bar.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>In wp-config.php:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u002F\u002F set server environment to 'LOCAL'\ndefine('WPLT_SERVER', 'local');\n\n\u002F\u002F set admin bar color to #800080\ndefine('WPLT_COLOR', 'purple');\n\n\u002F\u002F show the admin bar even when logged out\ndefine('WPLT_ADMINBAR', 'always');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Disable Plugins\u003C\u002Fh4>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cp>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:\u002F\u002Fcodex.wordpress.org\u002FMust_Use_Plugins. We’re investigating ways to avoid this requirement; if you have any ideas we’d love to hear it!\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>WPLT_DISABLED_PLUGINS\u003C\u002Fstrong>: A serialized array of plugins to disable.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>In wp-config.php\u003C\u002Fstrong>:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u002F\u002F deactivate a set of plugins\ndefine('WPLT_DISABLED_PLUGINS', serialize(\n    array(\n        'hello-dolly.php',\n        'w3-total-cache\u002Fw3-total-cache.php',\n        'updraftplus\u002Fupdraftplus.php',\n        'wordpress-https\u002Fwordpress-https.php'\n    )\n));\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Post Update Notifications\u003C\u002Fh4>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>\u003Cstrong>WPLT_NOTIFY\u003C\u002Fstrong>: 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:\u002F\u002Fmy.slack.com\u002Fservices\u002Fnew\u002Fincoming-webhook\u002F\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>WPLT_NOTIFY_CHANNEL\u003C\u002Fstrong>: 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.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>WPLT_DISABLE_ATTACHMENT_NOTIFY\u003C\u002Fstrong>: If set, this will disable notifications for attachments.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>In wp-config.php\u003C\u002Fstrong>:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u002F\u002F send an email to someone@somewhere.com \n\u002F\u002F whenever any post or page is updated\ndefine('WPLT_NOTIFY','someone@somewhere.com')\n\n\u002F\u002F or, send a notification to a Slack channel\ndefine('WPLT_NOTIFY', 'https:\u002F\u002Fhooks.slack.com\u002Fservices\u002Fetc');\ndefine('WPLT_NOTIFY_CHANNEL','#channel');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Airplane Mode\u003C\u002Fh4>\n\u003Cp>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 \u002F unhooks those actions to reduce load time and avoid errors due to missing files.\u003C\u002Fp>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>WPLT_AIRPLANE\u003C\u002Fstrong>: Set this to anything to enable the Airpane Mode toggle.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>In wp-config.php\u003C\u002Fstrong>:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u002F\u002F enable the Airplane Mode toggle\ndefine('WPLT_AIRPLANE', 'true');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Modification\u003C\u002Fh4>\n\u003Cp>You can add code that will be executed depending on server name by modifying the following in wp-local-toolbox.php.\u003C\u002Fp>\n\u003Cp>I’d love a pull request if you come up with something useful.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>if (strtoupper(WPLT_SERVER) != 'LIVE' && strtoupper(WPLT_SERVER) != 'PRODUCTION') {\n    \u002F\u002F Everything except PRODUCTION\u002FLIVE SERVER\n\n    \u002F\u002F Hide from robots\n    add_filter( 'pre_option_blog_public', '__return_zero' );\n\n} else {\n    \u002F\u002F PRODUCTION\u002FLIVE SERVER\n\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Notes\u003C\u002Fh4>\n\u003Cp>As a special thank you, this plugin will remove the ridiculous \u003Ccode>Howdy,\u003C\u002Fcode> that is prepended to the username in the admin bar.\u003C\u002Fp>\n\u003Cp>You’re welcome.\u003C\u002Fp>\n\u003Ch4>Credit\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\n\u003Cp>Plugin disabling from \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fmarkjaquith\" rel=\"nofollow ugc\">Mark Jaquith\u003C\u002Fa>: https:\u002F\u002Fgist.github.com\u002Fmarkjaquith\u002F1044546\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Using this fork from \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Frarst\" rel=\"nofollow ugc\">Andrey Savchenko\u003C\u002Fa>: https:\u002F\u002Fgist.github.com\u002FRarst\u002F4402927\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Airplane Mode from \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fnorcross\" rel=\"nofollow ugc\">Andrew Norcross\u003C\u002Fa>: https:\u002F\u002Fgithub.com\u002Fnorcross\u002Fairplane-mode\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Always showing the admin bar from \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fperishable\" rel=\"nofollow ugc\">Jeff Star\u003C\u002Fa>: http:\u002F\u002Fdigwp.com\u002F2011\u002F04\u002Fadmin-bar-tricks\u002F\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>A healthy refactoring from \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fjb510\" rel=\"nofollow ugc\">Jon Brown\u003C\u002Fa> of \u003Ca href=\"http:\u002F\u002F9seeds.com\u002F\" rel=\"nofollow ugc\">9seeds\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n","A simple plugin to help manage development over local, staging and production servers.",7046,92,7,"2015-06-25T04:51:00.000Z","4.2.39","",[26,27,28,29,30],"admin","administration","dashboard","notification","responsive","https:\u002F\u002Fgithub.com\u002Fjoeguilmette\u002Fwp-local-toolbox","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwp-local-toolbox.1.2.3.zip",0,null,"2026-03-15T15:16:48.613Z"]