[wp-trac] [WordPress Trac] #59574: Blocks: No toggle shown for hooked blocks added via filter
WordPress Trac
noreply at wordpress.org
Fri Feb 2 10:17:53 UTC 2024
#59574: Blocks: No toggle shown for hooked blocks added via filter
-----------------------------+------------------------------
Reporter: Bernhard Reiter | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by Bernhard Reiter):
Replying to [comment:7 Bernhard Reiter]:
> [...] the REST API level, where there are different endpoints
(`/templates/`, `/block-patterns/patterns/`, and `/navigation/`).
Here's the documentation for each of the aforementioned endpoints:
- [https://developer.wordpress.org/rest-api/reference/wp_templates/
Templates]
- [https://developer.wordpress.org/rest-api/reference/block-patterns/
Patterns]
- [https://developer.wordpress.org/rest-api/reference/wp_navigations/
Navigations]
Note in particular the (query) "Arguments" sections to retrieve an
individual item:
- [https://developer.wordpress.org/rest-
api/reference/wp_templates/#arguments Templates] support `wp_id`, `area`,
and `post_type`.
- [https://developer.wordpress.org/rest-
api/reference/wp_navigations/#arguments-3 Navigations] support `id` (and
`password`, if the item is password-protected).
- Patterns don't seem to support any arguments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59574#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list