-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtopspin.php
executable file
·40 lines (35 loc) · 2.48 KB
/
topspin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/*
Plugin Name: Topspin Store Plugin 4.1
Plugin URI: http://wordpress.org/extend/plugins/official-topspin-wordpress-plugin/
Description: Integrate your Topspin Offers into customized, sortable and dynamically generated Store Pages using the Topspin API.<em><strong> If you are updating an existing Topspin Wordpress store, please test the update on a separate development server before updating your live store to ensure a successful transition. Every Wordpress installation is unique and updating may cause unforeseen issues on your particular setup.</strong></em>
Author: The Uprising Creative for Topspin Media
Author URI: http://theuprisingcreative.com
Version: 4.1
*/
define('TOPSPIN_PLUGIN_FILE', __FILE__);
define('TOPSPIN_PLUGIN_PATH', plugin_dir_path(TOPSPIN_PLUGIN_FILE)); // with trailing slash
define('TOPSPIN_PLUGIN_URL', plugins_url(null, TOPSPIN_PLUGIN_FILE)); // no trailing slash
define('TOPSPIN_VERSION', '4.1');
// Controllers
require_once(sprintf('%s/controllers/WP_Topspin_Hooks_Controller.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Hooks_Custom_Controller.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_CMS_Controller.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Upgrade_Controller.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_AJAX.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Cache.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Cron.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Notices.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Shortcodes.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/controllers/WP_Topspin_Template.php', TOPSPIN_PLUGIN_PATH));
// Classes
require_once(sprintf('%s/classes/topspin.api.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/topspinArtist.api.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/topspinOrder.api.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/topspinStore.api.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/ts_ajaxResponse.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/ts_query.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/ts_product.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/wp.mediaHandler.php', TOPSPIN_PLUGIN_PATH));
require_once(sprintf('%s/classes/wp.topspin.php', TOPSPIN_PLUGIN_PATH));
?>