Displays a post’s total post views along with the label and/or icon. The function gathers all of the data, prepares the display, and then displays the post views container.
Usage
pvc_post_views( $post_id = 0, $echo = true );
Parameters
$post_id
int required
Stores the post’s ID.
$echo
boolean
Determines whether the post views should be displayed or not.
Return
A string of display options that include the post’s ID, total number of views, label, and icon.