• Resolved d1ch0t

    (@d1ch0t)


    I can use the postID in the show function like so:

    $count_per_day->show( ”,”, FALSE, TRUE, $post_id );

    …but how do I specify the postID for a different function such as getReadsAll() ?
    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tom Braider

    (@tom-braider)

    The “All” in getReadsAll() doesn’t need and postID.

    Thread Starter d1ch0t

    (@d1ch0t)

    Sorry I wasn’t very clear. If I want all Reads or Views of a specific PostID rather than site wide how do I access that?

    Since posting OP I’m running my own sql query but just wondered if there was a way to specify postID as there is with show(). Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Specify post ID for functions’ is closed to new replies.