Home Forums WoodMart support forum Disable Promo popup for Login Users

Disable Promo popup for Login Users

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #407617

    h6688a
    Participant

    Hi
    I want to show promo pop up just for non login users ,
    How can I do this in Childe theme .
    Thank you

    #407645

    h6688a
    Participant

    I solved my problem with below code .

    if( is_user_logged_in() ) {
    $rules[‘promo_popup’] = array(
    ‘will-be’ => false,
    ‘if’ => ‘maintenance_mode’,
    ‘in_array’ => array(false)
    );
    }

    apply_filters( ‘woodmart_get_specific_options’, $rules );

    #407683

    Sounds Great! that you have solved the issue by yourself.

    Thanks for contacting us.
    Have a wonderful day.

    Topic Closed.
    Best Regards.

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Disable Promo popup for Login Users’ is closed to new replies.