close
Skip to content

Documentation: Add @examples to core/edit-post selectors.#71330

Open
shrivastavanolo wants to merge 2 commits intoWordPress:trunkfrom
shrivastavanolo:docs/examples-for-edit-post
Open

Documentation: Add @examples to core/edit-post selectors.#71330
shrivastavanolo wants to merge 2 commits intoWordPress:trunkfrom
shrivastavanolo:docs/examples-for-edit-post

Conversation

@shrivastavanolo
Copy link
Contributor

@shrivastavanolo shrivastavanolo commented Aug 25, 2025

What?

See #42125

Why?

Currently, the Data Modules section in the handbook lacks code examples, making it difficult for developers to understand and use the available selectors. Adding @example tags improves documentation and helps developers quickly see how to interact with editor state.

How?

This PR adds @example tags for all non-deprecated selectors in the @wordpress/edit-post package. Part of the effort in #42125.

@shrivastavanolo shrivastavanolo marked this pull request as ready for review August 25, 2025 06:44
@github-actions
Copy link

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: shrivastavanolo <shreya0shrivastava@git.wordpress.org>

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

@t-hamano t-hamano added [Type] Developer Documentation Documentation for developers [Package] Edit Post /packages/edit-post labels Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Edit Post /packages/edit-post [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants