The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Closed] Problems With `comment_post` Hook
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sep 07, 2020 11:57 pm
(@mert2312)
Active Member
Joined: 5 years ago
Hello. I've been trying to echo a message after comment is posted and tried `comment_post` action that comes with Wordpress, but the message is not echoed on the screen. Also, when the action is registered and a comment is posted, the loader animation shows up but the comment doesn't become visible in the comment list. I can insert into database with that function and hook successfully, but echoing, returning or redirecting doesn't work. I've even tried functions that are confirmed as working, but no luck in echoing anything. I've also tried `wp_comment_insert`action, but I have the same issue. Insertion to database also works with it.
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sep 08, 2020 1:19 pm
(@asti)
Illustrious Member
Joined: 8 years ago
@mert2312,
Please show on some screenshot where exactly you'd like to display the message, we'll provide you the right hook you can use.
(@mert2312)
Joined: 5 years ago
Active Member
Posts: 3
Sep 08, 2020 1:24 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti Thank you for your reply. I'm trying to show a pop-up when user posts a comment.
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8217
Sep 08, 2020 6:35 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@mert2312,
in this case, there is no simple solution I can post here there should be some additinal js function, that'll need to be called.
(@mert2312)
Joined: 5 years ago
Active Member
Posts: 3
Sep 08, 2020 9:06 pm
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti would you mind pointing me to the right direction? I've been desperately looking for that everywhere on the web.