wp-cli.github.com/features/profile-stage-template.feature
2016-09-08 17:42:58 -07:00

22 lines
656 B
Gherkin

Feature: Profile the template render stage
Scenario: Profiler loads a table with the correct hooks
Given a WP install
When I run `wp profile --stage=template --fields=hook`
Then STDOUT should be a table containing rows:
| hook |
| |
| template_redirect |
| |
| template_include |
| |
| wp_head |
| |
| loop_start |
| |
| loop_end |
| |
| wp_footer |
| |
| total |