I apologize, but I could not see the posts sent. Note that the API came differently so I modified the code a bit according to my need, it worked if someone helps you leave it.
// validate if Post or posts exist
// file: plugins/display-medium-posts/display-medium-posts.php
Line 175:
$value_post = isset($json->payload->references->Post)?”Post”:”posts”;
if(isset($json->payload->references->$value_post)) {
$posts = $json->payload->references->$value_post;
-
This reply was modified 5 years, 7 months ago by wampyizrael.
-
This reply was modified 5 years, 7 months ago by wampyizrael.