Current Path : /storage/v11800/romasitenew/public_html/wp-content/plugins/fluent-smtp/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/romasitenew/public_html/wp-content/plugins/fluent-smtp/fluent-smtp.php |
<?php
/*
Plugin Name: FluentSMTP
Plugin URI: https://fluentsmtp.com
Description: The Ultimate SMTP Connection Plugin for WordPress.
Version: 2.2.80
Author: FluentSMTP & WPManageNinja Team
Author URI: https://fluentsmtp.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fluent-smtp
Domain Path: /language
*/
!defined('WPINC') && die;
define('FLUENTMAIL_PLUGIN_FILE', __FILE__);
require_once(plugin_dir_path(__FILE__) . 'boot.php');
register_activation_hook(
__FILE__, array('\FluentMail\Includes\Activator', 'handle')
);
register_deactivation_hook(
__FILE__, array('\FluentMail\Includes\Deactivator', 'handle')
);
function fluentSmtpInit()
{
$application = new FluentMail\Includes\Core\Application;
add_action('plugins_loaded', function () use ($application) {
do_action('fluentMail_loaded', $application);
});
}
fluentSmtpInit();
if (!function_exists('wp_mail')) :
function wp_mail($to, $subject, $message, $headers = '', $attachments = array())
{
return fluentMailSend($to, $subject, $message, $headers, $attachments);
}
else:
if (!(defined('DOING_AJAX') && DOING_AJAX)):
add_action('init', 'fluentMailFuncCouldNotBeLoadedRecheckPluginsLoad');
endif;
endif;
/*
* Thanks for checking the source code
* Please check the full source here: https://github.com/WPManageNinja/fluent-smtp
* Would love to welcome your pull request
*/