Skip to content

Commit 94592b8

Browse files
Regenerate README file (#212)
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
1 parent 63f513c commit 94592b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ render based on the main query, and renders it.
115115
Profile key metrics for WordPress hooks (actions and filters).
116116

117117
~~~
118-
wp profile hook [<hook>] [--all] [--spotlight] [--url=<url>] [--fields=<fields>] [--format=<format>] [--order=<order>] [--orderby=<fields>]
118+
wp profile hook [<hook>] [--all] [--spotlight] [--url=<url>] [--fields=<fields>] [--format=<format>] [--order=<order>] [--orderby=<fields>] [--search=<pattern>]
119119
~~~
120120

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

164+
[--search=<pattern>]
165+
Filter callbacks to those matching the given search pattern (case-insensitive).
166+
164167
**EXAMPLES**
165168

166169
# Profile a hook.

0 commit comments

Comments
 (0)