wp profile eval <php-code>
Profile arbitrary code execution
Arguments
Name | Description |
---|---|
php-code | The code to execute, as a string |
Options
Name | Description |
---|---|
--hook <hook> | Focus on key metrics for all hooks, or callbacks on a specific hook |
--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 |