Title: Re-format Key
Last modified: August 18, 2021

---

# Re-format Key

 *  Resolved [cgabelli](https://wordpress.org/support/users/cgabelli/)
 * (@cgabelli)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/re-format-key/)
 * In the reformat key option I have the print of the string without underscore 
   and in small caps, can I replace the string with a custom text?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [lawrenceowen](https://wordpress.org/support/users/lawrenceowen/)
 * (@lawrenceowen)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/re-format-key/#post-14787862)
 * [@cgabelli](https://wordpress.org/support/users/cgabelli/)
 * That’s not possible now, unless you are comfortable with diving in to the code?
 * If so, then you can look at the function star_cloudprnt_print_additional_order_info()
   in the order-handler.php file, which handles printing these fields. The line:
   `
   $printer->add_text_line(star_cloudprnt_filter_html($formatted_key) . ": " . star_cloudprnt_filter_html(
   $item_data["value"]));`
 * is responsible for printing the key/value, so just above that, you can add something
   like:
 *     ```
       if($formatted_key == "original key text")
         $formatted_key = "new key text";
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Re-format Key’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/star-cloudprnt-for-woocommerce_b4cfd9.
   svg)
 * [Star CloudPRNT for WooCommerce](https://wordpress.org/plugins/star-cloudprnt-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/star-cloudprnt-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/star-cloudprnt-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lawrenceowen](https://wordpress.org/support/users/lawrenceowen/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/re-format-key/#post-14787862)
 * Status: resolved