Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Make sure Secure Mode is turned off, it doesn’t seem to be supported by the WordPress plugin. My form wasn’t being populated despite the name and email being available in the Tawk_API.visitor` variable, then I turned off Secure Mode and it worked.

    Looking through the code I don’t see any filters or hooks to attach to so you have to modify the plugin code directly and then apply those changes again anytime the plugin is updated. That being said, the following will hide the tawk.to widget for logged in users that don’t have the ‘editor’ or ‘administrator’ roles. Insert the code block at line 583 in tawkto-live-chat/tawkto.php

    if (is_user_logged_in() && ! ( current_user_can('editor') || current_user_can('administrator') )) {
    ? ?$display = false;
    }
    

    Settings>Channel>Chat Widget>Widget Appearance>Advanced. Then enable the “Attention Grabber” option.

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