Skip to content

Conversation

@Mamaduka
Copy link
Member

What?

Closes #40840.

PR adds documentation for 'hookName' and 'namespace' parameters. Based on #40840.

Testing Instructions

None.

@Mamaduka Mamaduka added [Type] Developer Documentation Documentation for developers [Package] Hooks /packages/hooks labels Aug 21, 2025
@github-actions
Copy link

Flaky tests detected in a6ca96f.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/17118159357
📝 Reported issues:

Co-authored-by: timotheemoulin <[email protected]>
Co-authored-by: adamsilverstein <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
@Mamaduka Mamaduka force-pushed the update/hooks-param-docs branch from a6ca96f to b6b118a Compare August 21, 2025 09:57
@github-actions
Copy link

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: Mamaduka <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka requested a review from Copilot August 21, 2025 09:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Mamaduka Mamaduka merged commit 51ebf68 into trunk Aug 22, 2025
111 of 115 checks passed
@Mamaduka Mamaduka deleted the update/hooks-param-docs branch August 22, 2025 03:45
@github-actions github-actions bot added this to the Gutenberg 21.6 milestone Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Hooks /packages/hooks [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants