PluginProbe
Affiliate Links – Link Cloaking and Management / 2.1
Affiliate Links – Link Cloaking and Management v2.1
3.3.0 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 3.0.1 3.1.0 3.2.0 3.2.1
affiliate-links / affiliate-links.php

affiliate-links.php in Affiliate Links – Link Cloaking and Management 2.1, at affiliate-links.php

37 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Affiliate Links Lite
4 * Plugin URI: http://affiliatelinkswp.com/
5 * Description: Create any redirect links to any website from your WordPress Admin. Perfect for the affiliate links masking.
6 * Version: 2.1
7 * Author: TeamDev Ltd
8 * Author URI: https://www.teamdev.com/
9 * License: GPL-2.0+
10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11 * Text Domain: affiliate-links
12 * Domain Path: /languages/
13 */
14
15 // If this file is called directly, abort.
16 if ( ! defined( 'ABSPATH' ) ) {
17 die();
18 }
19
20 define( 'AFFILIATE_LINKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
21 define( 'AFFILIATE_LINKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
22 define( 'AFFILIATE_LINKS_FILE', __FILE__ );
23 define( 'AFFILIATE_LINKS_BASENAME', plugin_basename( AFFILIATE_LINKS_FILE ) );
24
25 require_once AFFILIATE_LINKS_PLUGIN_DIR . 'includes/class-affiliate-links.php';
26
27 /**
28 * Begins execution of the plugin.
29 */
30 $Affiliate_Links = new Affiliate_Links();
31
32 /*
33 * Activation/deactivation/deletion stuff
34 */
35 register_activation_hook( __FILE__, array ( $Affiliate_Links, 'activation_hook') );
36 register_deactivation_hook( __FILE__, array ( $Affiliate_Links, 'deactivation_hook') );
37 //deletion stuff is placed in uninstall.php