• Resolved tavib

    (@tavib)


    Hello, i created my links and i would like to use that number of clicks for a counter. Is there a way to access that value in a script or something?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cartpauj

    (@cartpauj)

    If you know the slug, then you can call $link = prli_get_link_from_slug($slug, OBJECT, true)

    Then you can grab the hits from the $link object using $link->clicks or $link->uniques.

    Thread Starter tavib

    (@tavib)

    by slug you mean de link I created?
    my created link is https://hraneste-supereroi.ro/o-masa that redirects to a donation page, I have 2 more an would like to add them up in one variable.

    Plugin Author cartpauj

    (@cartpauj)

    $slug would be replaced with “o-masa” in that case for example.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘using the count in a counter’ is closed to new replies.