# yaymail/4.4.5/src/Integrations/DHL/DHLIntegration.php

YayMail – WooCommerce Email Customizer, version 4.4.5. 27 lines.

- Page: https://pluginprobe.com/plugins/yaymail/4.4.5/code/src/Integrations/DHL/DHLIntegration.php
- Raw: https://pluginprobe.com/plugins/yaymail/4.4.5/raw/src/Integrations/DHL/DHLIntegration.php
- Modified: 2025-10-07T03:23: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.5/code/src/Integrations/DHL/DHLIntegration.php#L10-L20`.

```php
<?php

namespace YayMail\Integrations\DHL;

use YayMail\Utils\SingletonTrait;

/**
 * DHL
 * * @method static DHLIntegration get_instance()
 */
class DHLIntegration {
    use SingletonTrait;

    protected function __construct() {
        if ( ! class_exists( 'PR_DHL_WC' ) ) {
            return;
        }

        add_action(
            'yaymail_register_shortcodes',
            function() {
                DHLShortcodes::get_instance();
            }
        );
    }
}

```
