Mention that the hook needs to fire in order to profile it

This commit is contained in:
Daniel Bachhuber 2016-10-12 05:01:32 -07:00
parent b31681d98c
commit d07b98046d
2 changed files with 6 additions and 0 deletions

View file

@ -129,6 +129,9 @@ Profile key metrics for WordPress hooks (actions and filters).
wp profile hook [<hook>] [--all] [--url=<url>] [--fields=<fields>] [--format=<format>] wp profile hook [<hook>] [--all] [--url=<url>] [--fields=<fields>] [--format=<format>]
~~~ ~~~
In order to profile callbacks on a specific hook, the action or filter
will need to execute during the course of the request.
**OPTIONS** **OPTIONS**
[<hook>] [<hook>]

View file

@ -85,6 +85,9 @@ class Command {
/** /**
* Profile key metrics for WordPress hooks (actions and filters). * Profile key metrics for WordPress hooks (actions and filters).
* *
* In order to profile callbacks on a specific hook, the action or filter
* will need to execute during the course of the request.
*
* ## OPTIONS * ## OPTIONS
* *
* [<hook>] * [<hook>]