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: Add new page for i18n filters #28553

Merged
merged 3 commits into from
Jan 29, 2021
Merged

Docs: Add new page for i18n filters #28553

merged 3 commits into from
Jan 29, 2021

Conversation

leewillis77
Copy link
Contributor

Adds documentation for the filters added in #27966

@gziolo
Copy link
Member

gziolo commented Jan 28, 2021

Thank you for starting this PR ❤️

@gziolo gziolo requested review from koke and JustinyAhin January 29, 2021 08:41
@gziolo gziolo added [Type] Developer Documentation Documentation for developers [Feature] Extensibility The ability to extend blocks or the editing experience [Package] i18n /packages/i18n labels Jan 29, 2021
@JustinyAhin
Copy link
Member

@leewillis77 the PR looks good to me. I've just added a small phrasing suggestion

Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

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

I marked 3 places where some enhancements could be applied but overall it looks great 👍🏻


## Filter Arguments

The filters are passed the following arguments, in line with their PHP equivalents.
Copy link
Member

Choose a reason for hiding this comment

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

It would be nice to link with the corresponding PHP documentation page.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not aware of a single place we could link to that covers all of the relevant PHP filters (they each have their own page), so decided not to add links.

@gziolo gziolo changed the title Add docs for i18n filters Docs: Add new page for i18n filters Jan 29, 2021
@gziolo gziolo merged commit 4ef6b30 into WordPress:master Jan 29, 2021
@github-actions github-actions bot added this to the Gutenberg 9.9 milestone Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Package] i18n /packages/i18n [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants