Hide the “Email Design” key in the email, Cart, Checkout, and Order pages

To hide the “Email Design” meta value, perform the following steps:

1. Log into your FTP site and edit wp-config.php
2. Edit wp-config.php and scroll to the end and add the following bit of code:

Scroll towards the bottom, and before the line that says “Happy blogging.” add this code ABOVE that line:

define( 'PWGC_EMAIL_DESIGN_ID_META_KEY', '_pw_gift_card_email_design_id' );
define( 'PWGC_HIDE_DESIGN_META_IN_CART', true );

/* That's all, stop editing! Happy blogging. */

3. Save the wp-config.php file and re-upload it to your server.

Skip to content