- 8 September, 2015 at 8:01 pm #12153OllyAdmin & Mod
what it does:
normally, the cart gets emptied when an order has been successfully executed.
setting this constant to “true” will stop this from happening.
might be useful when developing and checking orders from end to end to not have to re-add items to cart only to see how emails would look for example. Should probably not be used for production sites.
anytime, can also be deleted again at any time.
where to add/define:
in your wp-config.php before: /* That's all, stop editing! Happy blogging. */
As with all filters, actions and constants:
Although these should be safe to use as indicated, there are no guarantees. Use at your own risk. Make backups before usage.
- The topic ‘WPPIZZA_DISABLE_CLEAR_CART’ is closed to new replies.