You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to get anything out of 'elements' until I formatted it as an array.
This code worked: 'elements' => ['featured_image']
to see all the featured images next to the relationship selection.
Not sure if I'm a noob or if this is written incorrectly in the cheat sheet as it has no array specified, only ''.
Spent a good while trying to find the solution so if this can help anyone, here it is!
The text was updated successfully, but these errors were encountered:
I was unable to get anything out of
'elements'
until I formatted it as an array.This code worked:
'elements' => ['featured_image']
to see all the featured images next to the relationship selection.
Not sure if I'm a noob or if this is written incorrectly in the cheat sheet as it has no array specified, only
''
.Spent a good while trying to find the solution so if this can help anyone, here it is!
The text was updated successfully, but these errors were encountered: