I know users that have role author can delete their own published posts. But if someone comments on one of their posts, does the post author have the capability to delete that comment?

1 Answer 1


You can add the capability by using add_cap. But as far as I know there is no way to do this only for their posts, so it would be for all posts.

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.