Support » Plugin: Chat » Removing "insert chat" icon in visual editor

Viewing 1 replies (of 1 total)
  • Hi Tia,

    You’d have to edit the plugin code for that and to help out a bit, if you have a look at line 359 of chat.php you’ll see a conditional check for whether the current user can edit posts, along with the addition of a filter to add in the button.

    You can edit that to include a check using is_admin().

    Hope that helps!


Viewing 1 replies (of 1 total)
  • The topic ‘Removing "insert chat" icon in visual editor’ is closed to new replies.