PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/polo-family.com/wp-content/plugins/woo-alidropship/admin/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/polo-family.com/wp-content/plugins/woo-alidropship/admin/admin.php |
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } class VI_WOO_ALIDROPSHIP_Admin_Admin { protected $settings; protected $characters_array; function __construct() { $this->settings = VI_WOO_ALIDROPSHIP_DATA::get_instance(); add_filter( 'plugin_action_links_woo-alidropship/woo-alidropship.php', array( $this, 'settings_link' ) ); add_action( 'init', array( $this, 'init' ) ); add_action( 'vi_wad_print_scripts', array( $this, 'dismiss_notice' ) ); } /** * Link to Settings * * @param $links * * @return mixed */ public function settings_link( $links ) { array_unshift( $links, sprintf( "<a href='%s'>%s</a>", esc_url( admin_url( 'admin.php?page=woo-alidropship' ) ), esc_html__( 'Settings', 'woo-alidropship' ) ) ); array_unshift( $links, sprintf( "<a href='%s'>%s</a>", esc_url( admin_url( 'admin.php?page=woo-alidropship-import-list#aldShowModal' ) ), esc_html__( 'Find Ali product', 'woo-alidropship' ) ) ); return $links; } /** * Function init when run plugin+ */ function init() { /*Register post type*/ load_plugin_textdomain( 'woo-alidropship' ); $this->load_plugin_textdomain(); if ( class_exists( 'VillaTheme_Support' ) ) { new VillaTheme_Support( array( 'support' => 'https://wordpress.org/support/plugin/woo-alidropship/', 'docs' => 'http://docs.villatheme.com/?item=aliexpress-dropshipping-and-fulfillment-for-woocommerce', 'review' => 'https://wordpress.org/support/plugin/woo-alidropship/reviews/?rate=5#rate-response', 'pro_url' => 'https://1.envato.market/PeXrM', 'css' => VI_WOO_ALIDROPSHIP_CSS, 'image' => VI_WOO_ALIDROPSHIP_IMAGES, 'slug' => 'woo-alidropship', 'menu_slug' => 'woo-alidropship-import-list', 'version' => VI_WOO_ALIDROPSHIP_VERSION, 'survey_url' => 'https://script.google.com/macros/s/AKfycbw9mebKbM9JjEYBeedEWSQ3hdrGgl6O5wwqnyqlovdrADAOLscBbY1W89oEmY7JjToTug/exec', ) ); } } /** * load Language translate */ public function load_plugin_textdomain() { $locale = apply_filters( 'plugin_locale', get_locale(), 'woo-alidropship' ); // Admin Locale if ( is_admin() ) { load_textdomain( 'woo-alidropship', VI_WOO_ALIDROPSHIP_LANGUAGES . "woo-alidropship-$locale.mo" ); } // Global + Frontend Locale load_textdomain( 'woo-alidropship', VI_WOO_ALIDROPSHIP_LANGUAGES . "woo-alidropship-$locale.mo" ); load_plugin_textdomain( 'woo-alidropship', false, VI_WOO_ALIDROPSHIP_LANGUAGES ); } public function dismiss_notice() { update_user_meta( get_current_user_id(), 'vi_wad_show_notice', VI_WOO_ALIDROPSHIP_VERSION ); } }