Enhance the hooks document generation process #1576
Labels
cooldown
php
Pull requests that update Php code
type: enhancement
The issue is a request for an enhancement.
Context
Follow-up from #1573 (comment), which it added a script to generate the hooks document and put it in
src/Hooks/README.md
.User story
Describe the solution you'd like
For auto generate hooks document:
do_action
,add_action
,apply_filter
, andadd_filter
.git diff --cached --word-diff -U1 | grep -E 'add_action|do_action|add_filter|apply_filter'
git add
andgit commit
again to commit the generated doc.For adding descriptions under each hoook:
src/Hooks/README.md
.The text was updated successfully, but these errors were encountered: