PluginProbe
Texty – SMS Notification for WordPress, WooCommerce, Dokan and more / 0.2
Texty – SMS Notification for WordPress, WooCommerce, Dokan and more v0.2
2.0.2 trunk 0.2 1.0 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 2.0.0 2.0.1
texty / includes / Notifications / OrderProcessingAdmin.php

OrderProcessingAdmin.php in Texty – SMS Notification for WordPress, WooCommerce, Dokan and more 0.2, at includes/Notifications/OrderProcessingAdmin.php

25 lines 607 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Texty\Notifications;
4
5 class OrderProcessingAdmin extends OrderBase {
6
7 /**
8 * Initialize
9 */
10 public function __construct() {
11 $this->title = __( 'Admin - When Order Status is Processing', 'texty' );
12 $this->id = 'order_admin_processing';
13 $this->group = 'wc';
14 $this->default_recipients = [ 'administrator' ];
15
16 $this->default = <<<'EOD'
17 New order received #{order_id}, paid via {payment_method}.
18
19 Customer: {billing_name} ({billing_email})
20 Status: {status}
21 Order Total: {order_total}
22 EOD;
23 }
24 }
25