The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] Review all comments with images
Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
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...
Jul 12, 2020 9:38 pm
(@jonas-andre)
Active Member
Joined: 6 years ago
Hey guys, is there any possibility to set all new comments with images to "review comment" state? We want to review all comments with images before they get online. This should count for all users (logged in and logged out).
Thank you. Sebastian
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...
Jul 13, 2020 12:32 pm
(@asti)
Illustrious Member
Joined: 9 years ago
Hi @jonas-andre ,
There is no option for this. If you're using the wpDiscuz Media Uploader add-on you can easily filter the comments with attachments using the according button.
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...
Jul 13, 2020 12:35 pm
(@jonas-andre)
Active Member
Joined: 6 years ago
Thank you for your reply. But we have to review the comments with images before the comment get's published. Is there any hook we can use to flag all new comments to "review" that contain an image?
Thank you so much 🙂
Sebastian
(@asti)
Joined: 9 years ago
Illustrious Member
Posts: 8301
Jul 13, 2020 12:45 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...
@jonas-andre ,
Please try this code it should work fine:
add_action("comment_post", function ($comment_id) { if (!empty($_POST["wmu_attachments"])) { wp_set_comment_status($comment_id, "hold"); } });
Super Globals
Options and Features