Hi,
The plugin does not rely on meta keys but creates post_views database table.
This approach allows it to perform well on large traffic websites.
Thank you.
I was just wondering. Do you guys offer a way to “hook” into the view count update event using PHP, and a code sample that shows how it can be done.
Looking forward to your answer.
Sure we do.
For example using pvc_after_count_visit action hook being fired after the view has been counted (increased).
That’s how it looks in the code:
do_action( 'pvc_after_count_visit', $id );
where $id is the post ID
To call it just make use of the WP native add_action function and pvc_after_count_visit hook.