The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Using wp_insert_com...
 
Share:
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!

Merry Christmas and Happy Holidays! πŸŽ„

Issue [Solved] Using wp_insert_comment() doesn't make the comment appear in frontend

3 Posts
2 Users
0 Reactions
1,033 Views
Posts: 10
Topic starter
(@wizard)
Eminent Member
Joined: 3 years ago

Hello,

I'm using the native function wp_insert_comment to write a comment to a post. Technically, it works well: The comment is in the backend and in the database. However, when I go to that post, the comment is not there.

But when I update any comment or if I delete a comment in the backend, suddenly I also see the previous comment I created with that function. It seems like there is some cache that gets deleted when I do a change in the comments in the backend?Β 

It has to do something with wpDiscuz because disabling the plugin also makes the issue go away


2 Replies
Asti
Posts: 8205
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

@wizard,

Could you please check and let us know if the "Enable Cache" is enabled or not? The option is located in the Dashboard > wpDiscuz > Settings > General Settings tab.


1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8205

We have not received a reply from you for over a couple of weeks, therefore we will be closing this topic. Please create a new one if you require any additional help.

Thank You!


Share: