Couldn't get all custom fields
-
https://www.nadji-ekipu.org/dontforget/api/get_post/?post_id=14
This is the link of json i’m trying to parse, but i’m getting only from custom fields one field “description” and i should get two more fields i have included in post.
I have seen in one question here that one guy post this code:
if (!isset($_GET[‘custom_fields’])) {
$_GET[‘custom_fields’] = ‘description, price, rating’;
}and it helped me getting description, but couldn’t get price and rating. Can you help me getting more than one custom fields?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Couldn't get all custom fields’ is closed to new replies.