I have one mobile app for https://nenow.in. I get the data from wordpress using JSON API Plugin.
In jnews i can make youtube video in place of featured image, by putting the link in “Video” Tab near post title.
That youtube link i want in json of the post so that i can show the video in my mobile app.
By default setting in JSON API, i am not getting the video link. Please help me how to do it.
Let me know if you need any more info.
Please try to add this code below to the functions.php file:
You can check this article https://v2.wp-api.org/extending/modifying/ for further reading. Let me know if you need further help.
It worked nicely.
Thanks a lot
Glad to hear that bhaskar_kareng, let me know if you need something else in there.
You must be logged in to reply to this topic.