Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created August 16, 2020 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellofromtonya/a297a462b35fbaca61dc83144a37c3e6 to your computer and use it in GitHub Desktop.
Save hellofromtonya/a297a462b35fbaca61dc83144a37c3e6 to your computer and use it in GitHub Desktop.
Making Debug Toolkit plugin a must-use.
<?php
require_once __DIR__ . '/debug-toolkit/debug-toolkit.php';
@hellofromtonya
Copy link
Author

Debug Toolkit plugin as a must-use ensures that the functionality is available before your plugins load.

  1. Move the plugin files into the wp-content/mu-plugins/ folder.
  2. Add the above file to the root of wp-content/mu-plugins/mu_autoloader.php.

Bam, you're ready to use the Debug Toolkit. To learn more, checkout the plugin in the WordPress Plugin Repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment