4.8.WPPIZZA_DEV_{CONSTANTS}
THE BELOW ARE DEVELOPMENT CONSTANTS AND SHOULD NOT BE USED IN A PRODUCTION ENVIRONMENT
you can overwrite the following constants by adding them to your wp-config.php
a) WPPIZZA_DEV_ADMIN_NO_SAVE – if set to true, wppizza parameters will not be saved if changed (might be useful if you want to demo things)
/* disallow saving */
define('WPPIZZA_DEV_ADMIN_NO_SAVE', true);
b) WPPIZZA_DEV_DISABLE_CLEAR_CART – set to true, to stop the cart being emptied after an order has been received successfully
/* do not clear cart when an order has been made successfully */
define('WPPIZZA_DEV_DISABLE_CLEAR_CART', true);
c) WPPIZZA_DEV_VIEW_EMAIL_OUTPUT – Set to true to view any email output that is being sent, including headers, bcc’s etc. in the frontend
Note: this Will only work if Wppizza -> Orderform Setttings : Confirmation Page is NOT enabled
/* view email details/output in frontend */
define('WPPIZZA_DEV_VIEW_EMAIL_OUTPUT', true);
d) WPPIZZA_DEV_VIEW_SMTP_PASSWORD – Set to true to see the decrypted smtp password set in Wppizza -> Settings (if used)
/* view decrypted SMTP password */
define('WPPIZZA_DEV_VIEW_SMTP_PASSWORD', true);
constants above should be added to your wp-config.php somewhere before
/* That's all, stop editing! Happy blogging. */
documentor id 5