We have the plugin set to moderate all new Questions. However, when someone posts a question, the page reloads with the message at the top: Your question is waiting moderator.
But the form doesn’t go away. People can submit the same question over and over.
1 Answers
Well, it’s just add notice to that page. You can change the redirect link after submit question.
in file inc/handle.php line : 482, above the line :
dwqa_add_notice( __( 'Your question is waiting moderator.', 'dwqa' ), 'success' );
you can add a redirect function :
exit( wp_safe_redirect( < can be any link you want here > ) );
Thank you for the answer. Can this be done in a way so that plugin updates don’t override it?
hi, so sorry for my late reply, but i think you should back it up … because at this time it can’t be prevented from update
Please login or Register to submit your answer