wp profile hook <hook>

Profile key metrics for WordPress hooks (actions and filters)

Arguments

NameDescription
hookDrill into key metrics of callbacks on a specific WordPress hook

Options

NameDescription
--allProfile callbacks for all WordPress hooks
--spotlightFilter out logs with zero-ish values from the set
--url <url>Execute a request against a specified URL. Defaults to the home URL
--fields <fields>Display one or more fields
--format <format>Render output in a particular format
--order <order>Ascending or descending order
--orderby <orderby>Order by fields