HEX
Server: Apache
System: Linux distracted-cartwright 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
User: hvmbertogarza.com_s2ctmc9wn9 (10011)
PHP: 8.3.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/hvmbertogarza.com/httpdocs/wp-content/plugins/site-mailer/site-mailer.php
<?php
/**
 * Plugin Name: Site Mailer - SMTP Replacement, Email API Deliverability & Email Log
 * Description: Effortlessly manage transactional emails with Site Mailer. High deliverability, logs and statistics, and no SMTP plugins needed.
 * Plugin URI: https://elementor.com/
 * Version: 1.3.0
 * Author: Elementor.com
 * Author URI: https://go.elementor.com/author-url-sm/
 * Text Domain: site-mailer
 * License: GPL-3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

define( 'SITE_MAILER_VERSION', '1.3.0' );
define( 'SITE_MAILER_FILE', __FILE__ );
define( 'SITE_MAILER_PATH', plugin_dir_path( SITE_MAILER_FILE ) );
define( 'SITE_MAILER_URL', plugins_url( '/', SITE_MAILER_FILE ) );
define( 'SITE_MAILER_ASSETS_PATH',  SITE_MAILER_PATH . 'assets/' );
define( 'SITE_MAILER_ASSETS_URL',  SITE_MAILER_URL . 'assets/' );

/**
 *  SiteMailer Class
 *
 */
final class SiteMailer {

	/**
	 * Constructor
	 *
	 * @access public
	 */
	public function __construct() {

		// Init Plugin
		add_action( 'plugins_loaded', [ $this, 'init' ] );
	}

	/**
	 * Initialize the plugin
	 *
	 * Do your Validations here:
	 * for example checks for basic plugin requirements, if one check fail don't continue,
	 * if all check have passed include the plugin class.
	 *
	 * Fired by `plugins_loaded` action hook.
	 *
	 * @since 1.2.0
	 * @access public
	 */
	public function init() {
		// Once we get here, We have passed all validation checks, so we can safely include our plugin
		require_once 'plugin.php';
	}
}
// Instantiate SiteMailer..
new SiteMailer();