public function __construct($args = array())
 {
     parent::__construct(self::CE_MAP_SLUG, array('menu_title' => __('CE Map', ET_DOMAIN), 'page_title' => __('CE MAP', ET_DOMAIN), 'callback' => array($this, 'menu_view'), 'slug' => self::CE_MAP_SLUG, 'page_subtitle' => __('CE Maps Overview', ET_DOMAIN), 'pos' => 55, 'icon_class' => 'icon-menu-overview'));
     //add value to model;
     // add map to modal edit.
     $this->add_ajax('map-save-settings', 'map_save_settings');
     // for mobile version
 }
 public function __construct($args = array())
 {
     parent::__construct('ebay-import', array('menu_title' => __('CE eBay Import', ET_DOMAIN), 'page_title' => __('CE eBay Import', ET_DOMAIN), 'callback' => array($this, 'menu_view'), 'slug' => 'ebay-import', 'page_subtitle' => __('ebay-import Overview', ET_DOMAIN), 'pos' => 45, 'icon_class' => 'icon-menu-overview'));
     $this->add_action('et_admin_menu', 'add_option_page');
     $this->add_ajax('ebay-search-ad', 'ebay_search_ad');
     $this->add_ajax('ebay-save-imported-ads', 'ebay_save_imported_ads');
     $this->add_ajax('ebay-get-categories', 'ebay_get_categories');
     $this->add_ajax('ebay-save-setting', 'ebay_save_setting');
     $this->add_ajax('ebay-load-ads', 'ebay_load_ads');
     $this->add_ajax('ebay-delete-ads', 'ebay_delete_ads');
     $this->add_ajax('ebay_connecting', 'ebay_connecting');
     //
     $this->add_ajax('update-ebay-schedule', 'updateSchedule');
     $this->add_ajax('ebay-set-days-run', 'ebay_set_number_days_run');
     $this->add_ajax('ebay-toggle-schedule', 'ebay_toggle_schedule');
     $this->add_ajax('ebay-delete-schedule', 'ebay_delete_schedule');
 }
 function __construct($args = array())
 {
     parent::__construct(self::CE_ALERT_SLUG, array('menu_title' => __('CE Alert', ET_DOMAIN), 'page_title' => __('CE ALERT', ET_DOMAIN), 'callback' => array($this, 'menu_view'), 'slug' => self::CE_ALERT_SLUG, 'page_subtitle' => __('CE Adlert', ET_DOMAIN), 'pos' => 59, 'icon_class' => 'icon-gear'));
     $this->alert_option = CE_Alert_Option::get_instance();
     $this->add_action('wp_ajax_save-alert-option', 'save_alert_option');
 }
Beispiel #4
0
 public function __construct($args = array())
 {
     parent::__construct(self::CE_FIELDS_SLUG, array('menu_title' => __('CE Fields', ET_DOMAIN), 'page_title' => __('CE FIELDS', ET_DOMAIN), 'callback' => array($this, 'menu_view'), 'slug' => self::CE_FIELDS_SLUG, 'page_subtitle' => __('CE Fields Overview', ET_DOMAIN), 'pos' => 50, 'icon_class' => 'icon-menu-overview'));
     $this->add_action('init', 'ce_fields_init', 20);
 }
 function __construct($args = array())
 {
     parent::__construct(self::CE_COUPON_SLUG, array('menu_title' => __('CE Coupon', ET_DOMAIN), 'page_title' => __('CE COUPON', ET_DOMAIN), 'callback' => array($this, 'menu_view'), 'slug' => self::CE_COUPON_SLUG, 'page_subtitle' => __('CE Coupon', ET_DOMAIN), 'pos' => 59, 'icon_class' => 'icon-menu-overview'));
 }
Beispiel #6
0
 function __construct($args = array())
 {
     parent::__construct(self::CE_ROLL_SLUG, array('menu_title' => __('CE Roll', ET_DOMAIN), 'page_title' => __('CE ROLL', ET_DOMAIN), 'callback' => array($this, 'menu_view'), 'slug' => self::CE_ROLL_SLUG, 'page_subtitle' => __('CE AdRoll', ET_DOMAIN), 'pos' => 57, 'icon_class' => 'icon-menu-overview'));
 }