Answer the question
In order to leave comments, you need to log in
What API output format should be used?
There is an API and a developer conflict.
From the usermeta table, the API outputs a response in the format
object(stdClass)[165]
public 'data' =>
array (size=2)
0 =>
object(stdClass)[167]
public 'type' => string 'meta' (length=4)
public 'id' => string '31' (length=2)
public 'attributes' =>
object(stdClass)[168]
public 'key' => string 'social_id' (length=8)
public 'value' => string '123' (length=3)
public 'user_id' => int 2
public 'site_id' => int 2
public 'links' =>
object(stdClass)[169]
public 'self' => string 'https://example.com//metas/31' (length=29)
object(stdClass)[165]
public 'meta' =>
object(stdClass)[167]
public 'social_id' =>
object(stdClass)[168]
public 'id' => int 31
public 'value' => int 123
public 'user_id' => int 2
public 'links' => string 'https://example.com//metas/31' (length=29)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question