Hooks: Document 'hookName' and 'namespace' parameters#71288
Conversation
|
Flaky tests detected in a6ca96f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/17118159357
|
Co-authored-by: timotheemoulin <timotheemoulin@git.wordpress.org> Co-authored-by: adamsilverstein <adamsilverstein@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
a6ca96f to
b6b118a
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds documentation for the 'hookName' and 'namespace' parameters to the hooks package README, addressing issue #40840 by providing clear parameter specifications and validation rules.
- Added a new "Parameters" section documenting hookName and namespace parameter requirements
- Specified validation rules for both parameters including character restrictions and formatting requirements
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
What?
Closes #40840.
PR adds documentation for 'hookName' and 'namespace' parameters. Based on #40840.
Testing Instructions
None.