skip to Main Content

I use WordPress with Woocommerce plugin, and now all product reviews go to "approved" section in Products -> Reviews.
I need to make it goes in waitlist by default instead.
Can’t find solution, maybe i’m blind)
So how can i do it?

2

Answers


  1. Chosen as BEST ANSWER

    We have custom AJAX to add reviews. There is an option in the wp_insert_comment() data argument called comment_approved. By default it's 1, so I just need to make it 0 to change a comment status.

    There is the code:

    single-product.js: https://ibb.co/4PrkzBg/

    woocommerce/ajax-functions.js: https://ibb.co/jhdrqfb/ https://ibb.co/VYQPQfT/


  2. You can find what you are looking for on this page:

    Settings > Discussion : Comment must be manually approved

    Woocommerce uses wordpress comments by default and these settings also apply to product reviews.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search