PluginProbe
Content Egg – Affiliate Product Importer & Price Comparison / 11.4.0
Content Egg – Affiliate Product Importer & Price Comparison v11.4.0
11.8.1 11.8.0 11.7.0 11.6.0 11.5.0 11.4.0 11.3.0 11.2.0 11.1.0 trunk 1.6.0 1.6.1 1.7.1 1.8.0 1.9.0 10.0.0 10.1.0 11.0.0 2.0.1 2.1.0 2.2.0 2.3.0 2.4.0 2.4.2 2.5.1 All 65 releases
content-egg / content-egg.php

content-egg.php in Content Egg – Affiliate Product Importer & Price Comparison 11.4.0, at content-egg.php

45 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ContentEgg;
4
5 /*
6 Plugin Name: Content Egg
7 Plugin URI: https://www.keywordrush.com/contentegg
8 Description: Multi-network affiliate plugin — imports, price comparison, automation, and structured blocks for affiliate content.
9 Version: 11.4.0
10 Requires at least: 6.0
11 Requires PHP: 8.0
12 Tested up to: 7.0.1
13 Author: keywordrush.com
14 Author URI: https://www.keywordrush.com
15 Text Domain: content-egg
16 Domain Path: /languages
17 */
18
19 /*
20 * Copyright (c) www.keywordrush.com (email: support@keywordrush.com)
21 */
22
23 defined('\ABSPATH') || die('No direct script access allowed!');
24
25 define(__NAMESPACE__ . '\NS', __NAMESPACE__ . '\\');
26 define(NS . 'PLUGIN_PATH', \plugin_dir_path(__FILE__));
27 define(NS . 'PLUGIN_FILE', __FILE__);
28 define(NS . 'PLUGIN_DIR_URL', \plugins_url('', __FILE__));
29 define(NS . 'PLUGIN_RES', \plugins_url('res', __FILE__));
30 define(NS . 'CUSTOM_MODULES_DIR', 'content-egg-modules');
31
32 require_once PLUGIN_PATH . 'loader.php';
33
34 \add_action('plugins_loaded', array('\ContentEgg\application\Plugin', 'registerComponents'));
35 \add_action('init', array('\ContentEgg\application\Plugin', 'getInstance'));
36
37 if (\is_admin())
38 {
39 \register_activation_hook(__FILE__, array(\ContentEgg\application\Installer::getInstance(), 'activate'));
40 \register_deactivation_hook(__FILE__, array(\ContentEgg\application\Installer::getInstance(), 'deactivate'));
41 \register_uninstall_hook(__FILE__, array('\ContentEgg\application\Installer', 'uninstall'));
42
43 \add_action('init', array('\ContentEgg\application\admin\PluginAdmin', 'getInstance'));
44 }
45