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

Update an example in Introduction & Overview document - #43

Merged
gziolo merged 2 commits into
trunkfrom
jonathanbossenger-patch-1
Aug 25, 2025
Merged

Update an example in Introduction & Overview document#43
gziolo merged 2 commits into
trunkfrom
jonathanbossenger-patch-1

Conversation

@jonathanbossenger

Copy link
Copy Markdown
Contributor

Updates the example with something simpler

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the documentation example in the introduction to demonstrate a simpler use case. Instead of showing how to create a blog post, the example now demonstrates retrieving WordPress site information, which requires fewer input parameters and showcases read-only functionality.

  • Replaces the post creation example with a site information retrieval example
  • Fixes a syntax error in the action hook callback (backticks to single quotes)
  • Updates the permission callback to use manage_options capability

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread docs/1.intro.md Outdated
@jonathanbossenger
jonathanbossenger marked this pull request as ready for review August 22, 2025 15:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@gziolo gziolo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works for me 👍

@gziolo gziolo added the [Type] Developer Documentation Improvements or additions to documentation label Aug 25, 2025
@gziolo gziolo changed the title Update 1.intro.md Aug 25, 2025
@gziolo
gziolo merged commit ad22938 into trunk Aug 25, 2025
15 checks passed
@gziolo
gziolo deleted the jonathanbossenger-patch-1 branch August 25, 2025 06:09
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

3 participants