# yaymail/4.4.2/templates/emails/admin-new-order.php

YayMail – WooCommerce Email Customizer, version 4.4.2. 13 lines.

- Page: https://pluginprobe.com/plugins/yaymail/4.4.2/code/templates/emails/admin-new-order.php
- Raw: https://pluginprobe.com/plugins/yaymail/4.4.2/raw/templates/emails/admin-new-order.php
- Modified: 2026-06-22T06:35:38+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/yaymail/4.4.2/code/templates/emails/admin-new-order.php#L10-L20`.

```php
<?php

use YayMail\Emails\NewOrder;

defined( 'ABSPATH' ) || exit;

$template = NewOrder::get_instance()->template;

if ( ! empty( $template ) ) {
    $content = $template->get_content( $args ); // TODO: process args later.
    yaymail_kses_post_e( $content );
}

```
