| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:868cce9f-d5fd-e79a-cf8a-65bb0c34ff81 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C4B2:351996:12C8023:1A0E39F:6AFA52CB |
| html-safe-nonce | a02ea3a6f6eef9b5e1c2992c002227d53c8a61ba819b2d317b91d5a5312b1c30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEIyOjM1MTk5NjoxMkM4MDIzOjFBMEUzOUY6NkFGQTUyQ0IiLCJ2aXNpdG9yX2lkIjoiNDM3OTc5OTMyMjg2Njg5NzYxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0eeaf65932417edfe317610b6630098a77af1e1b8a4e46a4e710d97d4f48e51c |
| hovercard-subject-tag | pull_request:3233563879 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/eval-command/84/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fb7c60269cba180f229bdde6201d2aeb1080ad26614f4e7e8f96129fe15b4d19/wp-cli/eval-command/pull/84 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb7c60269cba180f229bdde6201d2aeb1080ad26614f4e7e8f96129fe15b4d19/wp-cli/eval-command/pull/84 |
| og:image:alt | Implementation Plan for --hook=<hook> Flag
Understand the current implementation of eval and eval-file commands
Add --hook=<hook> parameter to Eval_Command class
Add --hook=<hook... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Copilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-cache |
| go-import | github.com/wp-cli/eval-command git https://github.com/wp-cli/eval-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 85580543 |
| octolytics-dimension-repository_nwo | wp-cli/eval-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85580543 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/eval-command |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/wp-cli/eval-command/pull/84#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Feval-command |
| Reload | https://github.com/wp-cli/eval-command/pull/84 |
| Reload | https://github.com/wp-cli/eval-command/pull/84 |
| Reload | https://github.com/wp-cli/eval-command/pull/84 |
| wp-cli | https://github.com/wp-cli |
| eval-command | https://github.com/wp-cli/eval-command |
| Code | https://github.com/wp-cli/eval-command |
| Issues | https://github.com/wp-cli/eval-command/issues |
| Pull requests | https://github.com/wp-cli/eval-command/pulls |
| Actions | https://github.com/wp-cli/eval-command/actions |
| Security and quality | https://github.com/wp-cli/eval-command/security |
| Insights | https://github.com/wp-cli/eval-command/pulse |
| https://github.com/wp-cli/eval-command |
| swissspidy | https://github.com/swissspidy |
| main | https://github.com/wp-cli/eval-command/tree/main |
| copilot/add-hook-flag-to-eval-shell | https://github.com/wp-cli/eval-command/tree/copilot/add-hook-flag-to-eval-shell |
| Conversation | https://github.com/wp-cli/eval-command/pull/84 |
| Commits4 (4) | https://github.com/wp-cli/eval-command/pull/84/commits |
| Checks | https://github.com/wp-cli/eval-command/pull/84/checks |
| Files changed | https://github.com/wp-cli/eval-command/pull/84/files |
| Add --hook flag to defer eval execution to WordPress lifecycle hooks | https://github.com/wp-cli/eval-command/pull/84#top |
| swissspidy | https://github.com/swissspidy |
| main | https://github.com/wp-cli/eval-command/tree/main |
| copilot/add-hook-flag-to-eval-shell | https://github.com/wp-cli/eval-command/tree/copilot/add-hook-flag-to-eval-shell |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Feb 1, 2026 | https://github.com/wp-cli/eval-command/pull/84#issue-3882465694 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
| contribution guidelines | https://make.wordpress.org/cli/handbook/contributing/ |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| Add --hook= flag to eval and shell to choose timing ideas#146 | https://github.com/wp-cli/ideas/issues/146 |
| set things up for you | https://github.com/wp-cli/eval-command/issues/new?title=%E2%9C%A8+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
|
| https://github.com/apps/copilot-swe-agent |
| Initial plan | https://github.com/wp-cli/eval-command/pull/84/commits/68cc7ebc055f443b10b7c27fe2e8b756dcc7a4e1 |
| 68cc7eb | https://github.com/wp-cli/eval-command/pull/84/commits/68cc7ebc055f443b10b7c27fe2e8b756dcc7a4e1 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| swissspidy | https://github.com/swissspidy |
| Feb 1, 2026 | https://github.com/wp-cli/eval-command/pull/84#event-22446010718 |
| started work | https://github.com/wp-cli/eval-command/sessions/b093e7e0-89f6-4e30-a156-aff3fd13c84f |
| swissspidy | https://github.com/swissspidy |
| February 1, 2026 17:04 | https://github.com/wp-cli/eval-command/pull/84#event-22446013589 |
|
View session
| https://github.com/wp-cli/eval-command/sessions/b093e7e0-89f6-4e30-a156-aff3fd13c84f |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
command:eval
| https://github.com/wp-cli/eval-command/issues?q=state%3Aopen%20label%3Acommand%3Aeval |
|
scope:distribution
| https://github.com/wp-cli/eval-command/issues?q=state%3Aopen%20label%3Ascope%3Adistribution |
|
state:unconfirmed
| https://github.com/wp-cli/eval-command/issues?q=state%3Aopen%20label%3Astate%3Aunconfirmed |
| Feb 1, 2026 | https://github.com/wp-cli/eval-command/pull/84#event-22446035891 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Feb 1, 2026 | https://github.com/wp-cli/eval-command/pull/84#issuecomment-3831441328 |
| Codecov | https://app.codecov.io/gh/wp-cli/eval-command/pull/84?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli |
| Let us know! | https://github.com/codecov/feedback/issues/255 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/swissspidy |
| Add --hook flag to eval and eval-file commands with tests | https://github.com/wp-cli/eval-command/pull/84/commits/15f206bedcad2d0b48b939d67c3030afcaaca3a6 |
| 15f206b | https://github.com/wp-cli/eval-command/pull/84/commits/15f206bedcad2d0b48b939d67c3030afcaaca3a6 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Feb 1, 2026 | https://github.com/wp-cli/eval-command/pull/84#event-22446113578 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| swissspidy | https://github.com/swissspidy |
| February 1, 2026 17:11 | https://github.com/wp-cli/eval-command/pull/84#event-22446116304 |
| finished work | https://github.com/wp-cli/eval-command/sessions/b093e7e0-89f6-4e30-a156-aff3fd13c84f |
| swissspidy | https://github.com/swissspidy |
| February 1, 2026 17:11 | https://github.com/wp-cli/eval-command/pull/84#event-22446116320 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
|
Feb 2, 2026
| https://github.com/wp-cli/eval-command/pull/84#pullrequestreview-3736983469 |
|
View reviewed changes
| https://github.com/wp-cli/eval-command/pull/84/files/15f206bedcad2d0b48b939d67c3030afcaaca3a6 |
| src/Eval_Command.php | https://github.com/wp-cli/eval-command/pull/84/files/15f206bedcad2d0b48b939d67c3030afcaaca3a6#diff-d94429b000a679a48eb7f1addffc8f03f85f04ceeb5d6d1c6c7f0beb57b34b05 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
|
Feb 2, 2026
| https://github.com/wp-cli/eval-command/pull/84#pullrequestreview-3736983622 |
|
View reviewed changes
| https://github.com/wp-cli/eval-command/pull/84/files/15f206bedcad2d0b48b939d67c3030afcaaca3a6 |
| src/EvalFile_Command.php | https://github.com/wp-cli/eval-command/pull/84/files/15f206bedcad2d0b48b939d67c3030afcaaca3a6#diff-c7da0121ac794765de945971266415f55ab1e388486a39083947e4f7c5b8ac50 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
|
| https://github.com/swissspidy |
| Apply suggestions from code review | https://github.com/wp-cli/eval-command/pull/84/commits/a929acb829482a1d430058cc9f75386dfbc3c266 |
| a929acb | https://github.com/wp-cli/eval-command/pull/84/commits/a929acb829482a1d430058cc9f75386dfbc3c266 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| February 2, 2026 02:13 | https://github.com/wp-cli/eval-command/pull/84#event-22451958296 |
| started reviewing | https://github.com/wp-cli/eval-command/sessions/230cd672-b097-4831-94b8-49cee47e434c |
| swissspidy | https://github.com/swissspidy |
| February 2, 2026 02:23 | https://github.com/wp-cli/eval-command/pull/84#event-22452065027 |
|
View session
| https://github.com/wp-cli/eval-command/sessions/230cd672-b097-4831-94b8-49cee47e434c |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| Feb 2, 2026 | https://github.com/wp-cli/eval-command/pull/84#event-22466567134 |
|
Docs say "before_wp_load" but everything is loaded already?
#78
| https://github.com/wp-cli/eval-command/issues/78 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| February 3, 2026 01:40 | https://github.com/wp-cli/eval-command/pull/84#event-22481480701 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| code owner | https://github.com/wp-cli/eval-command/blob/4ccf1b482a34d7e71c14b3b9f99385bd1641d4a5/.github/CODEOWNERS#L1 |
| February 3, 2026 01:40 | https://github.com/wp-cli/eval-command/pull/84#event-22481480786 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 2.2.8 | https://github.com/wp-cli/eval-command/milestone/27 |
| Feb 3, 2026 | https://github.com/wp-cli/eval-command/pull/84#event-22481482156 |
| https://github.com/swissspidy |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
| https://github.com/apps/gemini-code-assist |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
| https://github.com/swissspidy |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
| started work | https://github.com/wp-cli/eval-command/sessions/0d04b483-24a8-498a-baa6-af4d8b688449 |
| swissspidy | https://github.com/swissspidy |
| February 5, 2026 10:25 | https://github.com/wp-cli/eval-command/pull/84#event-22554257476 |
|
View session
| https://github.com/wp-cli/eval-command/sessions/0d04b483-24a8-498a-baa6-af4d8b688449 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/swissspidy |
| Refactor to use closure pattern for improved readability | https://github.com/wp-cli/eval-command/pull/84/commits/33d7538530a7d4c95a72b3dd5483adfac259cd7e |
| 33d7538 | https://github.com/wp-cli/eval-command/pull/84/commits/33d7538530a7d4c95a72b3dd5483adfac259cd7e |
|
| https://github.com/apps/copilot-swe-agent |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| swissspidy | https://github.com/swissspidy |
| February 5, 2026 10:27 | https://github.com/wp-cli/eval-command/pull/84#event-22554308745 |
| finished work | https://github.com/wp-cli/eval-command/sessions/0d04b483-24a8-498a-baa6-af4d8b688449 |
| swissspidy | https://github.com/swissspidy |
| February 5, 2026 10:27 | https://github.com/wp-cli/eval-command/pull/84#event-22554311024 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
|
Feb 5, 2026
| https://github.com/wp-cli/eval-command/pull/84#pullrequestreview-3757814841 |
|
View reviewed changes
| https://github.com/wp-cli/eval-command/pull/84/files/33d7538530a7d4c95a72b3dd5483adfac259cd7e |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 52a50c1 | https://github.com/wp-cli/eval-command/commit/52a50c1fb0050b4e144dce89d74b35f928c073bf |
| Feb 5, 2026 | https://github.com/wp-cli/eval-command/pull/84#event-22562241980 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| February 5, 2026 15:27 | https://github.com/wp-cli/eval-command/pull/84#event-22562243086 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
|
Mar 18, 2026
| https://github.com/wp-cli/eval-command/pull/84#ref-pullrequest-4093594108 |
|
Ensure $assoc_args can be used in eval
#89
| https://github.com/wp-cli/eval-command/pull/89 |
| https://github.co/hiddenchars |
| https://github.com/wp-cli/eval-command/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Feval-command%2Fpull%2F84 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/wp-cli/eval-command/pull/84/files/a929acb829482a1d430058cc9f75386dfbc3c266 |
|
| https://github.com/apps/gemini-code-assist |
|
gemini-code-assist[bot]
| https://github.com/apps/gemini-code-assist |
|
| https://github.com/wp-cli/eval-command/pull/84/files/a929acb829482a1d430058cc9f75386dfbc3c266 |
|
| https://github.com/swissspidy |
|
swissspidy
| https://github.com/swissspidy |
|
| https://github.com/wp-cli/eval-command/pull/84/files/33d7538530a7d4c95a72b3dd5483adfac259cd7e |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
|
| https://github.com/swissspidy |
|
swissspidy
| https://github.com/swissspidy |
|
Copilot code review
| https://github.com/apps/copilot-swe-agent |
|
Copilot
| https://github.com/apps/copilot-swe-agent |
|
command:eval
| https://github.com/wp-cli/eval-command/issues?q=state%3Aopen%20label%3Acommand%3Aeval |
|
scope:distribution
| https://github.com/wp-cli/eval-command/issues?q=state%3Aopen%20label%3Ascope%3Adistribution |
|
state:unconfirmed
| https://github.com/wp-cli/eval-command/issues?q=state%3Aopen%20label%3Astate%3Aunconfirmed |
|
2.2.8
| https://github.com/wp-cli/eval-command/milestone/27 |
|
Docs say "before_wp_load" but everything is loaded already?
| https://github.com/wp-cli/eval-command/issues/78 |
|
Add --hook= flag to eval and shell to choose timing
| https://github.com/wp-cli/ideas/issues/146 |
| Please reload this page | https://github.com/wp-cli/eval-command/pull/84 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/swissspidy |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |