Docs: fix hook name — use wp_abilities_api_categories_init instead of abilities_api_categories_init#134
Conversation
|
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #134 +/- ##
=========================================
Coverage 80.39% 80.39%
Complexity 178 178
=========================================
Files 20 20
Lines 1474 1474
Branches 120 119 -1
=========================================
Hits 1185 1185
Misses 289 289
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Updates docs to use the correct hook name
wp_abilities_api_categories_init(wasabilities_api_categories_init).Fixed references and examples in
intro.md,php-api.md, andhooks.md.Docs-only change; no runtime impact. Aligns with WP naming.