File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ render based on the main query, and renders it.
115115Profile 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
121121In 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.
You can’t perform that action at this time.
0 commit comments