I am working with a ticket system which is a custom post type. Tickets can be created on the front end of the site. Registered users can post a new ticket, which can be moderated by administrator and needs to add a comment after approving it. WordPress is not allowing other authors' posts to have new comments added by default. I mean, it only allow us to post a new comment, if we are the author of the post.

Is there any action, hook, or function that would allow administrators to add a new comment to any author's posts from the back end, while moderating the post.


1 Answer 1


Thanks for all of your answers guys. Finally I found solution for me issue. Once the post is published we can add comments. If the post is pending it won't allow administrators to add a new comment.

The answer is simple, if we publish the post we can add comments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.