Plugin Directory

Changeset 2682198


Ignore:
Timestamp:
02/21/2022 06:50:23 AM (4 years ago)
Author:
hugepod
Message:

Delete unused files

Location:
hugepod
Files:
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • hugepod/trunk/hugePOD-shipping.php

    r2661278 r2682198  
    44Plugin URI: https://wordpress.org/plugins/hugepod/
    55Description: Print on Demand & Dropshipping for your HugePOD-Woocommerce integration.
    6 Version: 1.0.8
     6Version: 1.0.9
    77Author: HugePOD
    88Author URI: http://www.hugepod.com
     
    2121class HugePOD_Base {
    2222
    23     const VERSION = '1.0.0';
     23    const VERSION = '1.0.9';
    2424    const HUGEPOD_HOST = 'https://service.hugepod.com/';
    2525    const HUGEPOD_HOME_PAGE_HOST = 'https://www.hugepod.com/';
     
    3838    public function init() {
    3939
    40         if (!class_exists('WC_Integration')) {
    41             return;
    42         }
    43 
    44         // WP REST API.
    45         $this->rest_api_init();
    46 
    47         //load required classes
    48         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 init
    54         HugePOD_Admin::init();
    55 
    56         //hook ajax callbacks
    57         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' ) );
    6040    }
    6141
    62     /**
    63      * @return string
    64      */
    65     public static function get_asset_url() {
    66         return trailingslashit(plugin_dir_url(__FILE__)) . 'assets/';
    67     }
    68 
    69     /**
    70      * @return string
    71      */
    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 string
    82      */
    83     public static function get_hugepod_home_page_host() {
    84         return self::HUGEPOD_HOME_PAGE_HOST;
    85     }
    86 
    87     /**
    88      * @return string
    89      */
    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     }
    11642}
    11743
  • hugepod/trunk/readme.txt

    r2661276 r2682198  
    55Tested up to: 5.8
    66Requires PHP: 7.4
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212
    1313== Description ==
     14
     15= Connect HugePOD with WooCommerce: https://www.hugepod.com/stores =
    1416
    1517= ABOUT HUGEPOD: PRINT ON DEMAND & DROPSHIPPING for Woocommerce =
     
    7375== Screenshots ==
    7476
    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
     771. HugePOD Print On Demand Gorment Factory
     782. HugePOD Intelligent Manufacturing
     793. HugePOD More Styles and Options
     804. HugePOD Private Label &Aiil-over-print
     815. HugePOD Cost Less , Earn Huge
     826. HugePOD Drag Drop Designs on FREE 3D Mockup
    11483
    11584== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.