How to disable comments on new blog post, but allow on new products?


Under the discussion setting, when I uncheck the “Allow people to submit comments on new posts” setting; it is disabling comments on new blog post. But it is also disabling review section of any new woocommerce product.

Is there any snippet so that only new blog post comments will be disabled & not the review of products. Also I know there is a plugin for this, but it will be better if I use a snippet instead of plugin.

Deb 2 months 2022-10-17T07:06:16-05:00 0 Answers 0 views 0

Leave an answer