/var/www/html_us/wp-content/plugins/wp-smtp/src/functions/boot.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * Initializes the Solid SMTP plugin once all plugins have loaded.
 *
 * @return void
 */

use SolidWP\Mail\App;
use 
SolidWP\Mail\Container;
use 
SolidWP\Mail\Core;
use 
SolidWP\Mail\lucatume\DI52\Container as DI52Container;

function 
solid_mail_plugin(): Core {
    
$container = new Container( new DI52Container() );
    
$core      Core::instancerealpath__DIR__ '/../../wp-smtp.php' ), $container );

    
App::setContainer$core->container() );

    return 
$core;
}