Skip to content

Instantly share code, notes, and snippets.

@rachelbaker
Created March 4, 2015 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rachelbaker/91bfec30a96f5b1b67c0 to your computer and use it in GitHub Desktop.
Save rachelbaker/91bfec30a96f5b1b67c0 to your computer and use it in GitHub Desktop.
'self' =>
array(1) {
[0] =>
array(2) {
'href' =>
string(42) "http://example.org/?json_route=/wp/posts/9"
'attributes' =>
array(0) {
}
}
}
'collection' =>
array(1) {
[0] =>
array(2) {
'href' =>
string(40) "http://example.org/?json_route=/wp/posts"
'attributes' =>
array(0) {
}
}
}
'author' =>
array(1) {
[0] =>
array(2) {
'href' =>
string(42) "http://example.org/?json_route=/wp/users/0"
'attributes' =>
array(1) {
'embeddable' =>
bool(true)
}
}
}
'replies' =>
array(1) {
[0] =>
array(2) {
'href' =>
string(57) "http://example.org/?json_route=%2Fwp%2Fcomments&post_id=9"
'attributes' =>
array(1) {
'embeddable' =>
bool(true)
}
}
}
'version-history' =>
array(1) {
[0] =>
array(2) {
'href' =>
string(52) "http://example.org/?json_route=/wp/posts/9/revisions"
'attributes' =>
array(0) {
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment