/var/www/html_it/wp-content/plugins/yaymail/src/Integrations/DHL/DHLIntegration.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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();
            }
        );
    }
}