PluginProbe
Texty – SMS Notification for WordPress, WooCommerce, Dokan and more / 1.1
Texty – SMS Notification for WordPress, WooCommerce, Dokan and more v1.1
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 / WC / CompleteAdmin.php

CompleteAdmin.php in Texty – SMS Notification for WordPress, WooCommerce, Dokan and more 1.1, at includes/Notifications/WC/CompleteAdmin.php

27 lines 603 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\WC;
4
5 class CompleteAdmin extends Base {
6
7 /**
8 * Initialize
9 */
10 public function __construct() {
11 $this->title = __( 'Admin - When Order Status is Complete', 'texty' );
12 $this->id = 'order_admin_complete';
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 {items}
20
21 Customer: {billing_name} ({billing_email})
22 Status: {status}
23 Order Total: {order_total}
24 EOD;
25 }
26 }
27