title: Wordpress Add actions and filters only if certain condition met
body: <p>I am customizing wordpress comments to add multiple custom fields. So i have added filters and actions to show fields, validate them, process them and finally show them in comments. I have written these and they are working fine. </p>
  
  <p>However i only need them only for Post which belongs to specific category and comment is not a reply of any other comment. </p>
  
  <p>I tried few things but nothing seems to work. Can somebody provide me a working solution.</p>