get_post_meta
This endpoint is used to get post meta for any custom fields of post. If you provide meta_key, only that data will be provided otherwise, all post_meta will be fetched.
Resource URL
http://localhost/api/userplus/get_post_meta/
Method
POST
Required Parameters
- post_id
- key – get API key from Settings > User Plus
Optional Parameters
- meta_key – provide meta_key to get data for that post.
Sample Request URL
http://localhost/api/userplus/get_post_meta/?key=KEY=HERE&post_id=110&meta_key=website,score