# texty/2.0.1/includes/Notifications/WC/CompleteAdmin.php

Texty – SMS Notification for WordPress, WooCommerce, Dokan and more, version 2.0.1. 27 lines.

- Page: https://pluginprobe.com/plugins/texty/2.0.1/code/includes/Notifications/WC/CompleteAdmin.php
- Raw: https://pluginprobe.com/plugins/texty/2.0.1/raw/includes/Notifications/WC/CompleteAdmin.php
- Modified: 2021-01-22T10:36:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/texty/2.0.1/code/includes/Notifications/WC/CompleteAdmin.php#L10-L20`.

```php
<?php

namespace Texty\Notifications\WC;

class CompleteAdmin extends Base {

    /**
     * Initialize
     */
    public function __construct() {
        $this->title              = __( 'Admin - When Order Status is Complete', 'texty' );
        $this->id                 = 'order_admin_complete';
        $this->group              = 'wc';
        $this->default_recipients = [ 'administrator' ];

        $this->default = <<<'EOD'
New order received #{order_id}, paid via {payment_method}.

{items}

Customer: {billing_name} ({billing_email})
Status: {status}
Order Total: {order_total}
EOD;
    }
}

```
