| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package Laposta Signup Basic |
| 4 |
*/ |
| 5 |
/* |
| 6 |
Plugin Name: Laposta Signup Basic |
| 7 |
Plugin URI: https://docs.laposta.nl/article/546-installatie-van-laposta-signup-basic |
| 8 |
Description: Easily create & send newsletters with Laposta. This plugin adds customizable signup forms to your site. |
| 9 |
Version: 3.3.1 |
| 10 |
Author: Laposta - Roel Bousardt |
| 11 |
Author URI: https://laposta.nl/contact |
| 12 |
Text Domain: laposta-signup-basic |
| 13 |
License: BSD 2-Clause License |
| 14 |
*/ |
| 15 |
|
| 16 |
/* |
| 17 |
BSD 2-Clause License |
| 18 |
|
| 19 |
Copyright (c) 2021, Laposta |
| 20 |
All rights reserved. |
| 21 |
|
| 22 |
Redistribution and use in source and binary forms, with or without |
| 23 |
modification, are permitted provided that the following conditions are met: |
| 24 |
|
| 25 |
1. Redistributions of source code must retain the above copyright notice, this |
| 26 |
list of conditions and the following disclaimer. |
| 27 |
|
| 28 |
2. Redistributions in binary form must reproduce the above copyright notice, |
| 29 |
this list of conditions and the following disclaimer in the documentation |
| 30 |
and/or other materials provided with the distribution. |
| 31 |
|
| 32 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 33 |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 34 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 35 |
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 36 |
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 37 |
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 38 |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 39 |
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 40 |
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 41 |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 42 |
*/ |
| 43 |
|
| 44 |
use Laposta\SignupBasic\Bootstrap; |
| 45 |
|
| 46 |
if (!function_exists('add_action')) { |
| 47 |
echo 'Hi there! I\'m just a plugin, not much I can do when called directly.'; |
| 48 |
exit; |
| 49 |
} |
| 50 |
|
| 51 |
if (!defined('LAPOSTA_SIGNUP_BASIC_VERSION')) { |
| 52 |
define('LAPOSTA_SIGNUP_BASIC_VERSION', '3.3.1'); |
| 53 |
} |
| 54 |
|
| 55 |
// Register the local namespace fallback autoloader and bundled API autoloader. |
| 56 |
require_once __DIR__ . '/autoload.php'; |
| 57 |
|
| 58 |
Bootstrap::run(); |
| 59 |
|