• Resolved kellerpt

    (@kellerpt)


    Hi,

    Please tell me what function can be assigned to the popup has been hidden, when the user is logged in?

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Kellerpt,

    You can use the following code snippet for that, taken from one of our knowledge base articles.

    
    add_filter( 'boxzilla_load_box', function( $load, $box_id ) {
    	return ! is_user_logged_in();
    }, 10, 2 );
    

    Hope that helps!

    Thread Starter kellerpt

    (@kellerpt)

    Hello!

    Works, but not fine.

    For those who are not logged in, showing a pop-up window not properly, not under the filters of which are set in settings.

    Thread Starter kellerpt

    (@kellerpt)

    How to make to work correctly?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide popup when user is logged in’ is closed to new replies.