Skip to content

Commit 2a9ed9e

Browse files
Update using-the-rest-api/global-parameters.md
Co-Authored-By: K Adam White <kadamwhite@users.noreply.github.com>
1 parent 45d1155 commit 2a9ed9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

using-the-rest-api/global-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Most resources include links to related resources. For example, a post can link
4343

4444
Embed mode is enabled if the `_embed` parameter is passed in the query string (GET parameter). This parameter does not require a value (i.e. `?_embed` is valid), however can be passed "1" as a value if required by a client library.
4545

46-
As of WordPress 5.4, the resources to embed can be limited by passing a list link relations to the `_embed` parameter. For example, `/wp/v2/posts?_embed=author,replies` will only embed the post's author and comments.
46+
As of WordPress 5.4, the resources to embed can be limited by passing a list of link relation names to the `_embed` parameter. For example, `/wp/v2/posts?_embed=author,replies` will only embed the post's author and comments.
4747

4848
Resources in embed mode will contain an additional `_embedded` key next to the `_links` key containing the linked resources. Only links with the `embeddable` parameter set to `true` will be embedded.
4949

0 commit comments

Comments
 (0)