plugin_url = plugin_dir_url( dirname( __FILE__, 1 ) ); //admin-chat-box/ $this->plugin = plugin_dir_url(__FILE__); // inc/ } }