Initial commit

This commit is contained in:
gustavooth committed 2026-07-23 22:56:30 -03:00
commit 22a1006598
1816 files changed
+410742

No files matched your search

@@ -0,0 +1,22 @@
<?php defined('ABSPATH') or die;
if (! function_exists('FluentSmtpDb')) {
/**
* @return \FluentMail\App\Services\DB\QueryBuilder\QueryBuilderHandler
*/
function FluentSmtpDb()
{
static $FluentSmtpDb;
if (! $FluentSmtpDb) {
global $wpdb;
$connection = new \FluentMail\App\Services\DB\Connection($wpdb, ['prefix' => $wpdb->prefix]);
$FluentSmtpDb = new \FluentMail\App\Services\DB\QueryBuilder\QueryBuilderHandler($connection);
}
return $FluentSmtpDb;
}
}