PluginProbe
Lasso Lite – Affiliate Link Manager & Product Displays / 151
Lasso Lite – Affiliate Link Manager & Product Displays v151
157 155 156 154 153 152 151 150 149 148 trunk 0.9.9 104 105 106 107 108 109 110 111 112 113 114 115 116 All 56 releases
simple-urls / simple-urls.php

simple-urls.php in Lasso Lite – Affiliate Link Manager & Product Displays 151, at simple-urls.php

29 lines 789 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use LassoLite\Classes\Init;
4
5 if ( ! defined( 'ABSPATH' ) ) {
6 exit;
7 }
8 define( 'SIMPLE_URLS_SLUG', 'surl' );
9 define( 'SIMPLE_URLS_DIR', plugin_dir_path( __FILE__ ) );
10 define( 'SIMPLE_URLS_URL', plugins_url( '', __FILE__ ) );
11 define( 'SIMPLE_URLS_PLUGIN_PATH', __DIR__ );
12
13 require_once SIMPLE_URLS_DIR . '/admin/constant.php';
14 require_once SIMPLE_URLS_DIR . DIRECTORY_SEPARATOR . 'autoload.php';
15 require_once SIMPLE_URLS_DIR . '/vendor-prefix/vendor/autoload.php';
16
17 // ? Sentry declaration
18 require_once SIMPLE_URLS_DIR . '/libs/lasso-lite/lasso-lite-sentry.php';
19
20 require_once SIMPLE_URLS_DIR . '/includes/class-simple-urls.php';
21 new Simple_Urls();
22
23 if ( is_admin() ) {
24 require_once SIMPLE_URLS_DIR . '/includes/class-simple-urls-admin.php';
25 new Simple_Urls_Admin();
26 }
27
28 new Init();
29