Opened 4 months ago
Last modified 7 days ago
#64606 assigned enhancement
Add get and post/pages abilities
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Abilities API | Keywords: | has-patch has-unit-tests |
| Focuses: | Cc: |
Description
This tracks the addition of get abilities for post types via the Abilities API, enabling AI agents to retrieve posts and pages through core/post-type/{slug}/get. It should introduce a show_in_abilities option on register_post_type() to control which post types expose abilities, enabled by default for post and page initially (then we can expand to menus, media etc)-
It should support single-post retrieval by ID and multi-post querying with filters for status, author, search, taxonomy, meta, date, comment status, ping status, advanced taxonomies, date or meta queries.
Change History (9)
This ticket was mentioned in PR #11488 on WordPress/wordpress-develop by @ishikaatxecurify.
2 months ago
#4
- Keywords has-patch has-unit-tests added
#5
@
7 weeks ago
- Component changed from AI to Abilities API
Moving tickets related to the Abilities API to a new sub-component.
#6
@
3 weeks ago
Removing trunk version as this is not going to be shipped with WP 7.0 but in the next releases.
#7
@
3 weeks ago
- Keywords abilities removed
Removing abilities and abilities-api custom keywords. This is now indicated by the Abilities API component.
Added get abilities for post types via the Abilities API, enabling AI agents to retrieve posts and pages through core/post-type/{slug}/get.
Trac ticket: https://core.trac.wordpress.org/ticket/64606
## Use of AI Tools