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 )
Links
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:
https://github.com/szepeviktor/WPHW
Development of this plugin goes on on
GitHub.
This section describes how to install the plugin and get it working.
- Upload
wp-requires.php
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress