calevans / wp-action-trace

A WordPress plugin to display all the actions calls. Optionally will display the parameters called with.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wp-action-trace

A WordPress plugin to display all the actions calls. Optionally will display the parameters with which each action is called.

This plugin is for developers. DO NOT INSTALL AND ACTIVATE IN PRODUCTION...EVER.

Instructions:

  1. Install the plugin. (This is a test, if you don't know how to install a plugin from github then this is the wrong plugin for you.)
  2. Activate
  3. Open a page in your WordPress powered site
  4. Add showDebugTrace=1 to the URL (put a ? or & before it as appropriate)
  5. Scroll to the bottom of the page

Options:

  • showDebugTrace=1 This turns the display on. If you have the plugin installed and activated but don't put this on the URL, nothing will show. The plugin is still active, and will still slow your site down, but it will not display anything.
  • showDebugTime=1 This will force the plugin to show you the time - as generated by microtime() - that the action was executed.
  • showDebugArgs=1 This will force the plugin to display the arguments that the plugin was called with, if any.

About

A WordPress plugin to display all the actions calls. Optionally will display the parameters called with.

License:MIT License


Languages

Language:PHP 100.0%