comments plugin hook