Docly Child

Remove texts from tracking events

This code snippet can be used to remove specific text in the tracking events shown on the tracking page. This is useful for store owners who may want to hide certain information, such as the location of origin, from their customers.

Before using the below code snippet

Code Snippet

after using the above code snippet


  • To remove multiple words, add additional elements to the $remove array.
  • To use this code snippet in WordPress, you can add it to your theme’s functions.php file or use a plugin such as Code Snippets to add it to your site.
  • Make sure you have the TrackShip plugin for WooCommerce installed and activated on your site before using this code snippet.

Note: It is recommended to create a backup of your website before making any modifications to your code.

Download Now