Title: martynute's Replies | WordPress.org

---

# martynute

  [  ](https://wordpress.org/support/users/martynute/)

 *   [Profile](https://wordpress.org/support/users/martynute/)
 *   [Topics Started](https://wordpress.org/support/users/martynute/topics/)
 *   [Replies Created](https://wordpress.org/support/users/martynute/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/martynute/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/martynute/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/martynute/engagements/)
 *   [Favorites](https://wordpress.org/support/users/martynute/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Lithuanian Characters are wrong](https://wordpress.org/support/topic/lithuanian-characters-are-wrong/)
 *  Thread Starter [martynute](https://wordpress.org/support/users/martynute/)
 * (@martynute)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/lithuanian-characters-are-wrong/#post-11232779)
 * When I wrote this code to the functions.php file, the invoice name disappeared:
 *     ```
       add_filter( 'wpo_wcpdf_invoice_title', 'wpo_wcpdf_invoice_title' );
       function wpo_wcpdf_invoice_title () {
       	$invoice_title = htmlentities('Sąskaita faktūra');
       	return $invoice_title;
       }
       ```
   
 * I’m using Notepad++ editor.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Lithuanian Characters are wrong](https://wordpress.org/support/topic/lithuanian-characters-are-wrong/)
 *  Thread Starter [martynute](https://wordpress.org/support/users/martynute/)
 * (@martynute)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/lithuanian-characters-are-wrong/#post-11232537)
 * I was installed Code Snippets and added:
 *     ```
       add_filter( 'wpo_wcpdf_invoice_title', 'wpo_wcpdf_invoice_title' );
       function wpo_wcpdf_invoice_title () {
           $invoice_title = 'Sąskaita faktūra';
           return $invoice_title;
       }
       ```
   
 * It’s working! I see lithuanian characters, but how to change other fields with
   Code Snippets? For example, if I want to change Order Number?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Lithuanian Characters are wrong](https://wordpress.org/support/topic/lithuanian-characters-are-wrong/)
 *  Thread Starter [martynute](https://wordpress.org/support/users/martynute/)
 * (@martynute)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/lithuanian-characters-are-wrong/#post-11228561)
 * I was trying to change invoice.php file. For example:
    <?php _e( ‘Pirkėjas:’,‘
   woocommerce-pdf-invoices-packing-slips’ ); ?>
 * Also I changed functions.php in my theme folder:
    add_filter( ‘wpo_wcpdf_invoice_title’,‘
   wpo_wcpdf_invoice_title’ ); function wpo_wcpdf_invoice_title () { $invoice_title
   = ‘Sąskaita faktūra’; return $invoice_title; }
 * It’s not working..
 * But when I writed “Shop Address” in your Plugin – it’s ok. I see Lithuanian letters.
 * Interesting.. Maybe it’s not problem of your plugin?

Viewing 3 replies - 1 through 3 (of 3 total)