• Hello,
    is there a way to load this plugin only to registered users? I know that I can hide it in my theme, but I don’t want it to load at all if user is not logged in.

    is_user_logged_in() doesn’t work within a plugin…

    Thank you!

    • This topic was modified 7 years, 7 months ago by scarbo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Happy Coders

    (@happy-coders)

    Hello scarbo,

    We really appreciate your writing in. We are bit unclear with your issue. Do you mean to show the like and dislike buttons for only logged in users? If yes then you can use cld_like_dislike_html filter to check if users are logged in or not. Please go to help section for more detail regarding this filter.

    Regards WPHC

    Thread Starter scarbo

    (@scarbo)

    Hello,
    yes, the idea was to hide like/dislike for everyone but logged in users. Could you clarify where can I apply that filter? What file should I edit? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only for registered users’ is closed to new replies.