Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Docs: fix hook name — use wp_abilities_api_categories_init instead of abilities_api_categories_init#134

Merged
gziolo merged 3 commits into
WordPress:trunkfrom
noruzzamans:fix-hooks
Nov 7, 2025
Merged

Docs: fix hook name — use wp_abilities_api_categories_init instead of abilities_api_categories_init#134
gziolo merged 3 commits into
WordPress:trunkfrom
noruzzamans:fix-hooks

Conversation

@noruzzamans

Copy link
Copy Markdown
Contributor

Updates docs to use the correct hook name wp_abilities_api_categories_init (was abilities_api_categories_init).
Fixed references and examples in intro.md, php-api.md, and hooks.md.
Docs-only change; no runtime impact. Aligns with WP naming.

@github-actions

github-actions Bot commented Nov 6, 2025

Copy link
Copy Markdown

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: noruzzamans <noruzzaman@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>

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

@codecov

codecov Bot commented Nov 6, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.39%. Comparing base (d9440e5) to head (a7d35c6).
⚠️ Report is 1 commits behind head on trunk.

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           
Flag Coverage Δ
javascript 94.31% <ø> (ø)
unit 76.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gziolo gziolo added the [Type] Developer Documentation Improvements or additions to documentation label Nov 6, 2025
@gziolo gziolo added this to the WP 6.9 milestone Nov 6, 2025
@gziolo gziolo enabled auto-merge (squash) November 7, 2025 14:24
@gziolo gziolo merged commit abdbd1e into WordPress:trunk Nov 7, 2025
20 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

[Type] Developer Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants