Title: Request for additional filter hook.
Last modified: February 14, 2018

---

# Request for additional filter hook.

 *  [zeppeki](https://wordpress.org/support/users/zeppeki/)
 * (@zeppeki)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/request-for-additional-filter-hooks-1/)
 * Hi.
    I am using this plugin in Japanese language environment that has the multibyte
   characters (Kanji, Hira-gana, Kata-kana) and be facing issue below.
 * Issue:
    When open the exported csv file by double crick with MS excel, that multibyte
   characters will be displayed uncorrectly.
 * So I’d like to request additional filter hook to add BOM(Byte order mark) data
   to csv to avoid issue.
 * File:
    \simple-history\dropins\SimpleHistoryExportDropin.php
 * place:
    At line#70
 *     ```
       if ( 'csv' == $export_format ) {
         /*
         * I want a new filter hook here to add BOM data to file. For example below.
         */
         $fp = apply_filters('simple_history/add_bom_data', $fp);
         $filename = 'simple-history-export-' . time() . '.csv';
         header( 'Content-Type: text/plain' );
         header( "Content-Disposition: attachment; filename='{$filename}'" );
       }
       ```
   
 * Thanks.
    -  This topic was modified 8 years, 3 months ago by [zeppeki](https://wordpress.org/support/users/zeppeki/).
    -  This topic was modified 8 years, 3 months ago by [zeppeki](https://wordpress.org/support/users/zeppeki/).
    -  This topic was modified 8 years, 3 months ago by [zeppeki](https://wordpress.org/support/users/zeppeki/).
    -  This topic was modified 8 years, 3 months ago by [zeppeki](https://wordpress.org/support/users/zeppeki/).

The topic ‘Request for additional filter hook.’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [zeppeki](https://wordpress.org/support/users/zeppeki/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/request-for-additional-filter-hooks-1/)
 * Status: not a support question