Replace Entire Comment Box with Text

Question

I have a need to disable comments for a specific group of users. But I want to replace the entire comment box with a message like “Sorry, you are not allowed to enter a comment”.

Other users should still be able to enter a comment in the normal way.

I don’t think I found a filter to do that, but I may be looking in the wrong area of comments.php.

Is there a way to replace the entire comment area with a message?

0
Rick Hellewell 2 months 2022-09-28T12:13:21-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse