Answer for How to integrate chat plugin in WordPress