Closed maykon-oliveira closed 4 years ago
Hi Maykon,
There is at least one issue here that does talk about it: Increment View Count on Quick View Modal or Button Click. That issue links to the Support forum where there's a pinned topic that explains how to do it as well: WPP with an AJAX-based website.
Try using different search terms next time :P
I was looking for a way to increment page view count through REST-API-Endpoints, but there is nothing talking about that feature or how could I do. However I found a function in RestController source code that do that, so I am opening a issue to you improve the wiki, and describe it how a client can increment page view count throught API.
$ POST htts://localhost:8080/wp-json/wordpress-popular-posts/v1/popular-posts?wpp_id=623