WPPizza – A Restaurant Plugin for WordPress › Support › Documentation WPPizza v2.x (read only)
(v3.x Docs can be found here) › Constants › WPPIZZA_VIEW_EMAIL_OUTPUT
- AuthorPosts
- 8 September, 2015 at 8:15 pm #12154
NEVER USE THIS ON PRODUCTION SITES – DEVELOPMENT/TESTING ONLY
what it does:
if defined, it will show you the output of all emails that would/will have been sent on completion of orders including recipients etc on the frontend.You might want to consider using this in conjunction with wppizza-tools->” Disable email sending”.
Really only useful for testing/development purposes.
WILL ALSO ONLY WORK WITH CASH ON DELIVERY ORDERS / TESTS AND NOT NECESSARILY WITH ALL BROWSERS (chrome/safari i believe should work, though there may be others)affects:
frontendusable:
anytime, can also be deleted again at any time.example:
define('WPPIZZA_VIEW_EMAIL_OUTPUT',true);/*bool*/
where to add/define:
in your wp-config.php before: /* That's all, stop editing! Happy blogging. */
Disclaimer:
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. - AuthorPosts
- The topic ‘WPPIZZA_VIEW_EMAIL_OUTPUT’ is closed to new replies.