Support » Plugin: Click to Chat for WhatsApp » How to disable the button for some countries?

  • Resolved kiki76it


    Hi, many sites get a lot of traffic and would be great to have the WhatsApp Chat plugin working only for some chosen countries.

    I’m trying the plugin country filter

    but i’ve no idea how to include the right code to make WhatsApp Chat appearing or disappearing for certain countries:

    <?php if (function_exists(‘showCountryContentInPage’)) { ?>
    <?php if(showCountryContentInPage(array(“us”),0)) { ?>
    <WhatsApp Chat Plugin hiding code/>
    <?php } } ?>

    If anyone comes out with a suggestion, it would be the ultimate solution 🙂

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bhvreddy



    I am sorry, we are unable to support this at this movement.

    but its nice idea to display whatsapp on selected regions. we will look in to this feature.

    thank for the suggestions

    Have a nice day!

    Awesome :_)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable the button for some countries?’ is closed to new replies.