email-encoder-bundle
Last commit date
core
8 months ago
languages
8 months ago
email-encoder-bundle.php
8 months ago
index.php
6 years ago
license.txt
6 years ago
readme.txt
8 months ago
email-encoder-bundle.php
61 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: Email Encoder - Protect Email Addresses |
| 4 | * Version: 2.2.4 |
| 5 | * Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/ |
| 6 | * Description: Protect email addresses on your site and hide them from spambots. Easy to use & flexible. |
| 7 | * Author: Online Optimisation |
| 8 | * Author URI: https://wpemailencoder.com/ |
| 9 | * License: Dual licensed under the MIT and GPL licenses |
| 10 | * Text Domain: email-encoder-bundle |
| 11 | * |
| 12 | * License: GPL2 |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with TMG User Filter. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | // Exit if accessed directly. |
| 19 | if ( !defined( 'ABSPATH' ) ) exit; |
| 20 | |
| 21 | // Plugin name. |
| 22 | define( 'EEB_NAME', 'Email Encoder' ); |
| 23 | |
| 24 | // Plugin version. |
| 25 | define( 'EEB_VERSION', '2.2.4' ); |
| 26 | |
| 27 | // Determines if the plugin is loaded |
| 28 | define( 'EEB_SETUP', true ); |
| 29 | |
| 30 | // Plugin Root File. |
| 31 | define( 'EEB_PLUGIN_FILE', __FILE__ ); |
| 32 | |
| 33 | // Plugin base. |
| 34 | define( 'EEB_PLUGIN_BASE', plugin_basename( EEB_PLUGIN_FILE ) ); |
| 35 | |
| 36 | // Plugin Folder Path. |
| 37 | define( 'EEB_PLUGIN_DIR', plugin_dir_path( EEB_PLUGIN_FILE ) ); |
| 38 | |
| 39 | // Plugin Folder URL. |
| 40 | define( 'EEB_PLUGIN_URL', plugin_dir_url( EEB_PLUGIN_FILE ) ); |
| 41 | |
| 42 | // Plugin Root File. |
| 43 | define( 'EEB_TEXTDOMAIN', 'email-encoder-bundle' ); |
| 44 | |
| 45 | /** |
| 46 | * Load the main instance for our core functions |
| 47 | */ |
| 48 | require_once EEB_PLUGIN_DIR . 'core/class-email-encoder-bundle.php'; |
| 49 | |
| 50 | /** |
| 51 | * The main function to load the only instance |
| 52 | * of our master class. |
| 53 | * |
| 54 | * @return object|Email_Encoder |
| 55 | */ |
| 56 | function EEB() { |
| 57 | return Email_Encoder::instance(); |
| 58 | } |
| 59 | |
| 60 | EEB(); |
| 61 |