This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

What's running


Only for development!

Now with OPcache memory consumption support

This plugin dumps the colorized filenames and memory consumptions or file sizes after the normal WordPress HTML output, after the closing html tag. This generates invalid HTML but gives you an overview of loaded plugins and the current theme.

What’s running lists all files parsed and executed by the PHP engine. It can be used for plugin or theme refactoring.

Now you can highlight your own plugin and theme

Provide a part of its path in wp-config.php:

define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' ); 

Color codes

  • your code is highlighted with YELLOW background
  • plugin files are in BLUE
  • themes files are in ORANGE
  • files in the wp-includes directory are in GREEN
  • files in the wp-admin directory are in GREY
  • all other files are in RED
  • VIOLET bar after the filename represents the file size ( 0.5 kB/px )
  • DARK MAGENTA bar after the filename represents the OPcache memory consumption ( 1 kB/px )


You can watch WP core bug #28364 to get more information about WordPress entry points.

You can find some documentaion here what makes a WordPress plugin efficient:

Development of this plugin goes on on GitHub.


  • This is an old screenshot. You can see the filenames after the admin footer.
  • This is the current screenshot of the plugin’s output on the Dashboard. The colored bars represent the file sizes.
  • Lines highlighted by the WHATS_RUNNING_HIGHLIGHT constant.


This section describes how to install the plugin and get it working.

  1. Upload wp-requires.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


It messes up my backend, frontend!

After finishing the refactor, please deactivate and delete this plugin.

How to highlight my code?

Insert a line into wp-config.php with a part of your files’ path:

define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' ); 

Use in production?

Please do not!

How to switch between file size and memory consumption?

When OPcache status is available memory consumption is displayed, otherwise the file size.


There are no reviews for this plugin.

Contributors & Developers

“What's running” is open source software. The following people have contributed to this plugin.


Translate “What's running” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • FIX: Always display pre tag
  • NEW: Semver


  • NEW: Added OPcache memory consumption support (DARK MAGENTA bar).


  • Changed wrapper element to div with id “whats-running”.
  • NEW: Added feature to highlight your code.


  • NEW: Added size in kB to the title of the file size bars.


  • NEW Added file sizes and total file size.


  • NEW: Added inline styles.
  • Link to WP core bug to watch.


  • FIX: Prevent running on non-AJAX media uploads (async-upload.php).
  • Tested up to WordPress 3.9.


  • FIX: On file uploads (async-upload.php) DOING_AJAX is defined late.


  • NEW: Legend for the colors.
  • Now you don’t have to collapse the admin menu.


  • FIX: Plugin name correction in readme.


  • Initial release.
  • Colorized output.