WordPress comments – how to check if comment still needs to be approved?

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

I created a comments.php template and which contains the following code:

The callback function for the wp_list_comments is only relevant for each individual comment, so I didn’t include it here.

The comment form all works as expected. However, I now have a problem with the moderation. When a user adds a comment, it is not visible directly. (I didn’t research if users can change this behaviour, but I guess they can.)

I want to add some text to show to the user after posting the comment that the comment first needs to be moderated. How can I show this? Or, better: how do I check after a comment is submitted, if this comment first needs to be moderated (or not)?

What is the best way to incorporate this message in a comments.php template?

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com