| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Simple URLs |
| 4 |
* Plugin URI: https://getlasso.co/?utm_source=SimpleURLs&utm_campaign=WP |
| 5 |
* Description: Simple URLs is a complete URL management system that allows you create, manage, and track outbound links from your site by using custom post types and 301 redirects. |
| 6 |
* Author: Lasso |
| 7 |
* Author URI: https://getlasso.co/?utm_source=SimpleURLs&utm_campaign=WP |
| 8 |
* Version: 104 |
| 9 |
|
| 10 |
* Text Domain: simple-urls |
| 11 |
* Domain Path: /languages |
| 12 |
|
| 13 |
* License: GNU General Public License v2.0 (or later) |
| 14 |
* License URI: http://www.opensource.org/licenses/gpl-license.php |
| 15 |
* |
| 16 |
* @package simple-urls |
| 17 |
*/ |
| 18 |
|
| 19 |
if ( ! defined( 'ABSPATH' ) ) { |
| 20 |
exit; |
| 21 |
} |
| 22 |
|
| 23 |
define( 'SIMPLE_URLS_DIR', plugin_dir_path( __FILE__ ) ); |
| 24 |
define( 'SIMPLE_URLS_URL', plugins_url( '', __FILE__ ) ); |
| 25 |
|
| 26 |
require_once SIMPLE_URLS_DIR . '/includes/class-simple-urls.php'; |
| 27 |
|
| 28 |
new Simple_Urls(); |
| 29 |
|
| 30 |
if ( is_admin() ) { |
| 31 |
require_once SIMPLE_URLS_DIR . '/includes/class-simple-urls-admin.php'; |
| 32 |
new Simple_Urls_Admin(); |
| 33 |
} |
| 34 |
|