PluginProbe ʕ •ᴥ•ʔ
Email Encoder – Protect Email Addresses and Phone Numbers / 2.4.2
Email Encoder – Protect Email Addresses and Phone Numbers v2.4.2
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 5 months ago config 5 months ago core 5 months ago languages 8 months ago src 5 months ago templates 5 months ago vendor 5 months ago composer.json 5 months ago composer.lock 5 months ago email-encoder-bundle.php 5 months ago index.php 6 years ago license.txt 6 years ago readme.txt 5 months ago
email-encoder-bundle.php
56 lines
1 <?php
2 /**
3 * Plugin Name: Email Encoder - Protect Email Addresses
4 * Version: 2.4.2
5 * Requires PHP: 7.4
6 * Plugin URI: https://wordpress.org/plugins/email-encoder-bundle/
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: Dual licensed under the MIT and GPL licenses
11 * Text Domain: email-encoder-bundle
12 *
13 * License: GPL2
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with TMG User Filter. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 // Exit if accessed directly.
20 defined( 'ABSPATH' ) || exit;
21
22 define( 'EEB_NAME', 'Email Encoder' );
23 define( 'EEB_VERSION', '2.4.2' );
24 define( 'EEB_SETUP', true );
25 define( 'EEB_PLUGIN_FILE', __FILE__ );
26 define( 'EEB_PLUGIN_BASE', plugin_basename( EEB_PLUGIN_FILE ) );
27 define( 'EEB_PLUGIN_DIR', plugin_dir_path( EEB_PLUGIN_FILE ) );
28 define( 'EEB_PLUGIN_URL', plugin_dir_url( EEB_PLUGIN_FILE ) );
29 define( 'EEB_TEXTDOMAIN', 'email-encoder-bundle' );
30
31 // add_action( 'eeb_ready', fn () => error_log( '--> HELLO! <--' ), 9999 );
32
33 # Load the main instance for our core functions
34 require_once EEB_PLUGIN_DIR . 'core/class-email-encoder-bundle.php';
35 require_once EEB_PLUGIN_DIR . 'core/includes/functions/template-tags.php';
36
37 # COMPOSER AUTOLOAD
38 if (file_exists(__DIR__ . '/vendor/autoload.php')) {
39 require __DIR__ . '/vendor/autoload.php';
40 }
41
42 # RUN IT
43 add_action( 'plugins_loaded', 'EEB' );
44
45
46 /**
47 * The main function to load the only instance
48 * of our master class.
49 *
50 * @return Email_Encoder
51 */
52 function EEB(): \Legacy\EmailEncoderBundle\Email_Encoder
53 {
54 return \Legacy\EmailEncoderBundle\Email_Encoder::instance();
55 }
56