PluginProbe
Tiered Pricing Table for WooCommerce / trunk
Tiered Pricing Table for WooCommerce vtrunk
7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 All 90 releases
tier-pricing-table / src / Addons / ImportExport / ImportExportAddon.php

ImportExportAddon.php in Tiered Pricing Table for WooCommerce trunk, at src/Addons/ImportExport/ImportExportAddon.php

28 lines 907 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace TierPricingTable\Addons\ImportExport;
2
3 use TierPricingTable\Addons\AbstractAddon;
4
5 class ImportExportAddon extends AbstractAddon {
6
7 public function getName(): string {
8 return __( 'WooCommerce Import/Export', 'tier-pricing-table' );
9 }
10
11 public function getDescription(): string {
12 return __( 'Adds compatibility with the built-in WooCommerce product importer and exporter.', 'tier-pricing-table' );
13 }
14
15 public function getIcon(): string {
16 return '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14.5v-3H7v-3h4v-3l4.5 4.5L11 16.5z"/></svg>';
17 }
18
19 public function getSlug(): string {
20 return 'import-export';
21 }
22
23 public function run() {
24 $this->getContainer()->initService( WoocommerceImportService::class );
25 $this->getContainer()->initService( WoocommerceExportService::class );
26 }
27 }
28