Hi, elitaz, here is a code snippet that you can use to only allow the post author to reply to comments, essentially removing the link that is is called “Reply”:
add_filter('comment_reply_link','hide_link_unless_author', 10, 4);
function hide_link_unless_author( $link, $args, $comment, $post )
{
if ( get_current_user_id() != $post->post_author )
{
return;
}
return $link;
}
You can insert this into your functions.php file or use a code snippet plugin such as Code Snippets.
Here are images of it in action:
Here is an image when the author is viewing the post –

Here is an image when the general public is viewing the post –

Thread Starter
elitaz
(@elitaz)
Hi Ian. Thanks for reply. It works like a charm.
Cheers mate!