mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:39:02 +08:00
Mention that the hook needs to fire in order to profile it
This commit is contained in:
parent
b31681d98c
commit
d07b98046d
2 changed files with 6 additions and 0 deletions
|
@ -129,6 +129,9 @@ Profile key metrics for WordPress hooks (actions and filters).
|
|||
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**
|
||||
|
||||
[<hook>]
|
||||
|
|
|
@ -85,6 +85,9 @@ class Command {
|
|||
/**
|
||||
* 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
|
||||
*
|
||||
* [<hook>]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue