so which function should I call?
thanks for the quick reply
I am planning to use REST API to serve web and mobile apps, so a GET request to the end point of custom post item will be equivalent to post view
I was thinking about calling a function that runs your code in this hook:
rest_post_dispatch
Is that possible?
Thanks
-
This reply was modified 9 years, 6 months ago by Hatem Hosny.
-
This reply was modified 9 years, 6 months ago by Hatem Hosny.