Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Rename Block Hooks handbook page to Block Filters #54862

Merged
merged 3 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@
"parent": "reference-guides"
},
{
"title": "Block Hooks",
"title": "Block Filters",
"slug": "block-filters",
"markdown_source": "../docs/reference-guides/filters/block-filters.md",
"parent": "filters"
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

## [Hooks Reference](/docs/reference-guides/filters/README.md)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we also rename this to "Hooks and Filters Reference" now? Ripple effects... 😬

Suggested change
## [Hooks Reference](/docs/reference-guides/filters/README.md)
## [Hooks and Filters Reference](/docs/reference-guides/filters/README.md)

Copy link
Contributor

@juanmaguitar juanmaguitar Sep 27, 2023

Choose a reason for hiding this comment

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

In theory, the concept "Hooks" would already include "Filters" (and "Actions") so I think the current two changes are enough for now for the purpose of this PR.
We can think later of a better way to name these Reference API pages


- [Block Hooks](/docs/reference-guides/filters/block-filters.md)
- [Block Filters](/docs/reference-guides/filters/block-filters.md)
- [Editor Hooks](/docs/reference-guides/filters/editor-filters.md)
- [i18n Hooks](/docs/reference-guides/filters/i18n-filters.md)
- [Parser Hooks](/docs/reference-guides/filters/parser-filters.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-guides/filters/block-filters.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Block Hooks
# Block Filters

To modify the behavior of existing blocks, WordPress exposes several APIs.

Expand Down
Loading