Support

Account

Home Forums General Issues Custom comment field, not to display on reply Reply To: Custom comment field, not to display on reply

  • 
    // array of field names
    $fields = array(
      'name',
      'name',
      'etc'
    )
    foreach ($fields as $field) {
      add_filter('acf/prepare_field/name='.$field, 'remove_if_previous_comments');
    }