• Hi.
    I wonder if you could allow additional filter hook to use user own row on CSV.

    File:
    \simple-history\dropins\SimpleHistoryExportDropin.php

    place:
    At line#123

    
    //Add filter hook to check if add user own row to csv body.
    if(apply_filters('simple_history/has_user_csv_body', false) !== false){
      //The filter hook to add user own row to csv body.
      fputcsv($fp, apply_filters('simple_history/return_row_array', $one_row));
    }
    else{
      fputcsv($fp, array(
        $one_row->date,
        $one_row->logger,
        $one_row->level,
        $one_row->initiator,
        $one_row->context_message_key,
        $header_output,
        $message_output,
        $one_row->subsequentOccasions,
      ));							
    }
    
  • The topic ‘Request for additional filter hook #2.’ is closed to new replies.