wordpress REST API 手册 ---- (Rendered-blocks)
TOPICS
Schema Schema
The schema defines all the fields that exist for a rendered-block object.
| rendered
string |
The rendered block.
Context: edit |
Example Request Example Request
$ curl -X OPTIONS -i https://example.com/wp-json/wp/v2/block-renderer/<name>
Retrieve a Rendered-block Retrieve a Rendered-block
Arguments Arguments
| name | Unique registered name for the block. |
| context | Scope under which the request is made; determines fields present in response.
Default: view One of: edit |
| attributes | Attributes for core/tag-cloud block |
| post_id | ID of the post context. |
Definition Definition
GET /wp/v2/block-renderer/<name>
Example Request Example Request
$ curl https://example.com/wp-json/wp/v2/block-renderer/<name>
