PluginProbe ʕ •ᴥ•ʔ
Email Encoder – Protect Email Addresses and Phone Numbers / 2.4.6
Email Encoder – Protect Email Addresses and Phone Numbers v2.4.6
2.5.0 2.4.8 trunk 0.10 0.11 0.12 0.20 0.21 0.22 0.30 0.31 0.32 0.40 0.41 0.42 0.50 0.60 0.70 0.71 0.80 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.5 1.5.2 1.51 1.53 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7
email-encoder-bundle / email-encoder-bundle.php
email-encoder-bundle Last commit date
assets 2 months ago config 3 months ago core 2 months ago languages 8 months ago src 2 months ago templates 2 months ago vendor 2 months ago composer.json 5 months ago composer.lock 5 months ago email-encoder-bundle.php 2 months ago index.php 6 years ago license.txt 6 years ago readme.txt 2 months ago
email-encoder-bundle.php
55 lines
1 <?php
2 /**
3 * Plugin Name: Email Encoder - Protect Email Addresses
4 * Version: 2.4.6
5 * Requires PHP: 7.4
6 * Plugin URI: https://wpemailencoder.com/
7 * Description: Protect email addresses on your site and hide them from spambots. Easy to use & flexible.
8 * Author: Online Optimisation
9 * Author URI: https://wpemailencoder.com/
10 * License: GPLv2 or later
11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12 * Text Domain: email-encoder-bundle
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this plugin. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 // Exit if accessed directly.
19 defined( 'ABSPATH' ) || exit;
20
21 define( 'EEB_NAME', 'Email Encoder' );
22 define( 'EEB_VERSION', '2.4.6' );
23 define( 'EEB_SETUP', true );
24 define( 'EEB_PLUGIN_FILE', __FILE__ );
25 define( 'EEB_PLUGIN_BASE', plugin_basename( EEB_PLUGIN_FILE ) );
26 define( 'EEB_PLUGIN_DIR', plugin_dir_path( EEB_PLUGIN_FILE ) );
27 define( 'EEB_PLUGIN_URL', plugin_dir_url( EEB_PLUGIN_FILE ) );
28 define( 'EEB_TEXTDOMAIN', 'email-encoder-bundle' );
29
30 // add_action( 'eeb_ready', fn () => error_log( '--> HELLO! <--' ), 9999 );
31
32 # Load the main instance for our core functions
33 require_once EEB_PLUGIN_DIR . 'core/class-email-encoder-bundle.php';
34 require_once EEB_PLUGIN_DIR . 'core/includes/functions/template-tags.php';
35
36 # COMPOSER AUTOLOAD
37 if (file_exists(__DIR__ . '/vendor/autoload.php')) {
38 require __DIR__ . '/vendor/autoload.php';
39 }
40
41 # RUN IT
42 add_action( 'plugins_loaded', 'EEB' );
43
44
45 /**
46 * The main function to load the only instance
47 * of our master class.
48 *
49 * @return Email_Encoder
50 */
51 function EEB(): \Legacy\EmailEncoderBundle\Email_Encoder
52 {
53 return \Legacy\EmailEncoderBundle\Email_Encoder::instance();
54 }
55