v2.0.0
This commit is contained in:
parent
5638b8e13b
commit
a29b2d82ad
19 changed files with 3792 additions and 231 deletions
42
robotstxt-smtp-newsletter.php
Normal file
42
robotstxt-smtp-newsletter.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/**
|
||||
* Plugin Name: Newsletter - SMTP (by ROBOTSTXT)
|
||||
* Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-newsletter
|
||||
* Description: Integrates ROBOTSTXT SMTP configuration with Newsletter plugin for efficient bulk email delivery with SMTPKeepAlive support.
|
||||
* Version: 2.0.0
|
||||
* Requires at least: 4.7
|
||||
* Requires PHP: 7.2
|
||||
* Network: true
|
||||
* Security: robotstxt@robotstxt.es
|
||||
* Author: ROBOTSTXT
|
||||
* Author URI: https://www.robotstxt.es/
|
||||
* Text Domain: robotstxt-smtp-newsletter
|
||||
* Domain Path: /languages
|
||||
* Requires Plugins: newsletter, robotstxt-smtp
|
||||
* License: GPL-3.0-or-later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
* Gitea Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp-newsletter
|
||||
* Primary Branch: main
|
||||
*
|
||||
* @package ROBOTSTXT_SMTP_Newsletter
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
// Plugin constants.
|
||||
define( 'ROBOTSTXT_SMTP_NEWSLETTER_VERSION', '2.0.0' );
|
||||
define( 'ROBOTSTXT_SMTP_NEWSLETTER_FILE', __FILE__ );
|
||||
define( 'ROBOTSTXT_SMTP_NEWSLETTER_PATH', plugin_dir_path( __FILE__ ) );
|
||||
define( 'ROBOTSTXT_SMTP_NEWSLETTER_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
// Load plugin class.
|
||||
require_once ROBOTSTXT_SMTP_NEWSLETTER_PATH . 'includes/class-plugin.php';
|
||||
|
||||
// Initialize plugin.
|
||||
add_action( 'newsletter_loaded', array( 'Robotstxt_SMTP_Newsletter\Plugin', 'instance_init' ) );
|
||||
|
||||
// Load updater.
|
||||
require_once __DIR__ . '/robotstxt-updater.php';
|
||||
Robotstxt_Updater::init( __FILE__ );
|
||||
Loading…
Reference in a new issue