Created
March 29, 2026 08:24
-
-
Save plugin-republic/9289f284a07c56e3b0281829c6e80666 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Send test email for DPP | |
| * Replace $order_id with an existing scheduled order on your site | |
| * Refresh a WooCommerce page, e.g. WooCommerce > Orders to fire the snippet | |
| */ | |
| function prefix_test_scheduled_order_due_email() { | |
| $order_id = 91; | |
| wcdpp_scheduled_order_due_email( $order_id ); | |
| } | |
| add_action( 'woocommerce_after_register_post_type', 'prefix_test_scheduled_order_due_email' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment