Home Forums Newsletter Plugin Support What’s the right hook to check is the user already subscribed?

Viewing 1 post (of 1 total)
  • Author
  • #301947

    I need to make a popup-window with subscribe widget inside that popup.
    It will appear after window loading, after few seconds – I’ll make it on jQuery settimeout() method.

    I’ll make the popup manually. But how to set the logic of its appearing correctly?
    If the person already subscribed – then don’t show it.

    Do I correctly understand, that I have to use exactly this hook?
    add_filter(“newsletter_user_confirmed”, “my_action_newsletter_user_confirmed”, 10, 1);

    function my_action_newsletter_user_confirmed($user) {
    < script > don’t appear this popup</ script >
    Or I have to use another hook for it? How to let popup know, that user is already a subscriber?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.