Changeset 2682198
- Timestamp:
- 02/21/2022 06:50:23 AM (4 years ago)
- Location:
- hugepod
- Files:
-
- 3 deleted
- 2 edited
-
tags (deleted)
-
trunk/assets (deleted)
-
trunk/hugePOD-shipping.php (modified) (3 diffs)
-
trunk/includes (deleted)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hugepod/trunk/hugePOD-shipping.php
r2661278 r2682198 4 4 Plugin URI: https://wordpress.org/plugins/hugepod/ 5 5 Description: Print on Demand & Dropshipping for your HugePOD-Woocommerce integration. 6 Version: 1.0. 86 Version: 1.0.9 7 7 Author: HugePOD 8 8 Author URI: http://www.hugepod.com … … 21 21 class HugePOD_Base { 22 22 23 const VERSION = '1.0. 0';23 const VERSION = '1.0.9'; 24 24 const HUGEPOD_HOST = 'https://service.hugepod.com/'; 25 25 const HUGEPOD_HOME_PAGE_HOST = 'https://www.hugepod.com/'; … … 38 38 public function init() { 39 39 40 if (!class_exists('WC_Integration')) {41 return;42 }43 44 // WP REST API.45 $this->rest_api_init();46 47 //load required classes48 require_once 'includes/class-hugepod-integration.php';49 require_once 'includes/class-hugepod-admin.php';50 require_once 'includes/class-hugepod-admin-dashboard.php';51 require_once 'includes/class-hugepod-admin-settings.php';52 53 //launch init54 HugePOD_Admin::init();55 56 //hook ajax callbacks57 add_action( 'wp_ajax_save_hugepod_settings', array( 'HugePOD_Admin_Settings', 'save_hugepod_settings' ) );58 add_action( 'wp_ajax_ajax_force_check_connect_status', array( 'HugePOD_Integration', 'ajax_force_check_connect_status' ) );59 add_action( 'wp_ajax_get_hugepod_orders', array( 'HugePOD_Admin_Dashboard', 'render_orders_ajax' ) );60 40 } 61 41 62 /**63 * @return string64 */65 public static function get_asset_url() {66 return trailingslashit(plugin_dir_url(__FILE__)) . 'assets/';67 }68 69 /**70 * @return string71 */72 public static function get_hugepod_host() {73 if ( defined( 'HUGEPOD_DEV_HOST' ) ) {74 return HUGEPOD_DEV_HOST;75 }76 77 return self::HUGEPOD_HOST;78 }79 80 /**81 * @return string82 */83 public static function get_hugepod_home_page_host() {84 return self::HUGEPOD_HOME_PAGE_HOST;85 }86 87 /**88 * @return string89 */90 public static function get_hugepod_api_host() {91 if ( defined( 'HUGEPOD_DEV_API_HOST' ) ) {92 return HUGEPOD_DEV_API_HOST;93 }94 95 return self::HUGEPOD_API_HOST;96 }97 98 private function rest_api_init()99 {100 // REST API was included starting WordPress 4.4.101 if ( ! class_exists( 'WP_REST_Server' ) ) {102 return;103 }104 105 // Init REST API routes.106 add_action( 'rest_api_init', array( $this, 'register_rest_routes' ), 20);107 }108 109 public function register_rest_routes()110 {111 require_once 'includes/class-hugepod-rest-api-controller.php';112 113 $hugepodRestAPIController = new HugePOD_REST_API_Controller();114 $hugepodRestAPIController->register_routes();115 }116 42 } 117 43 -
hugepod/trunk/readme.txt
r2661276 r2682198 5 5 Tested up to: 5.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 == Description == 14 15 = Connect HugePOD with WooCommerce: https://www.hugepod.com/stores = 14 16 15 17 = ABOUT HUGEPOD: PRINT ON DEMAND & DROPSHIPPING for Woocommerce = … … 73 75 == Screenshots == 74 76 75 1. Connect to HugePOD Print On Demand Dropshipping 76 2. HugePOD Print On Demand Dropshipping dashboard 77 3. HugePOD Print On Demand Dropshipping Integration Settings 78 4 HugePOD API Enable 79 5. HugePOD Print On Demand Gorment Factory 80 6. HugePOD Intelligent Manufacturing 81 7. HugePOD More Styles and Options 82 8. HugePOD Private Label &Aiil-over-print 83 9. HugePOD Cost Less , Earn Huge 84 10. HugePOD Drag Drop Designs on FREE 3D Mockup 85 86 == Changelog == 87 88 = 1.0 = 89 - First release 90 91 = 1.0.1 = 92 - Optimize SEO content 93 94 = 1.0.2 = 95 - Fixed some version store display errors 96 97 = 1.0.3 = 98 - Optimize SEO content 99 100 = 1.0.4 = 101 - Logo change 102 103 = 1.0.5 = 104 - Title change 105 106 = 1.0.6 = 107 - Content change 108 109 = 1.0.7 = 110 - Title change 111 112 = 1.0.8 = 113 - Add display order list 77 1. HugePOD Print On Demand Gorment Factory 78 2. HugePOD Intelligent Manufacturing 79 3. HugePOD More Styles and Options 80 4. HugePOD Private Label &Aiil-over-print 81 5. HugePOD Cost Less , Earn Huge 82 6. HugePOD Drag Drop Designs on FREE 3D Mockup 114 83 115 84 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.