Beispiel #1
0
 /**
  * @param array $map
  *
  * @return array
  */
 public function filter_import_type_titles_map(array $map)
 {
     if ($this->commerce_loader->is_woocommerce_active()) {
         $map['tickets_woo'] = __('Tickets', 'event-tickets-plus');
     }
     return $map;
 }
Beispiel #2
0
 /**
  * @param array $import_options
  *
  * @return array
  */
 public function filter_import_options_rows(array $import_options)
 {
     if ($this->commerce_loader->is_woocommerce_active()) {
         $import_options['tickets_woo'] = esc_html__('Tickets', 'event-tickets-plus');
     }
     return $import_options;
 }