Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ render based on the main query, and renders it.
Profile key metrics for WordPress hooks (actions and filters).

~~~
wp profile hook [<hook>] [--all] [--spotlight] [--url=<url>] [--fields=<fields>] [--format=<format>] [--order=<order>] [--orderby=<fields>]
wp profile hook [<hook>] [--all] [--spotlight] [--url=<url>] [--fields=<fields>] [--format=<format>] [--order=<order>] [--orderby=<fields>] [--search=<pattern>]
~~~

In order to profile callbacks on a specific hook, the action or filter
Expand Down Expand Up @@ -161,6 +161,9 @@ will need to execute during the course of the request.
[--orderby=<fields>]
Set orderby which field.

[--search=<pattern>]
Filter callbacks to those matching the given search pattern (case-insensitive).

**EXAMPLES**

# Profile a hook.
Expand Down