Core Function
View Source on Trac ↗ rest_parse_embed_param()
rest_parse_embed_param( mixed $embed ) Parses the "_embed" parameter into the list of resources to embed.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | array) $embed Raw "_embed" parameter value. Required |
Return Value
((true)
| string[]) Either true to embed all embeds, or a list of relations to embed.
Function Information
Since Version
5.4.0
Source File
wp-includes/rest-api.php
Advertisement