Viewing 1 replies (of 1 total)
  • Plugin Author dFactory

    (@dfactory)

    There’s a pvc_get_post_views filter hook that allows you to modify that, including the kind of multiplier you mentioned above.

    Example:

    // modify views count
    function custom_pvc_get_post_views( $post_views, $post_id ) {
    	return (int) $post_views * 1.8; // or any other multiplier, can be different for each post as you have post id here
    }
    add_filter( 'pvc_get_post_views', 'custom_pvc_get_post_views', 10, 2 );

Viewing 1 replies (of 1 total)
  • The topic ‘increase views’ is closed to new replies.