| 1 |
<?php namespace TierPricingTable\Addons\Tools; |
| 2 |
|
| 3 |
use TierPricingTable\Addons\AbstractAddon; |
| 4 |
use TierPricingTable\Addons\Tools\API\ToolsEndpoints; |
| 5 |
use TierPricingTable\Addons\Tools\Settings\Settings; |
| 6 |
|
| 7 |
class ToolsAddon extends AbstractAddon { |
| 8 |
|
| 9 |
public function getName(): string { |
| 10 |
return __( 'Tools', 'tier-pricing-table' ); |
| 11 |
} |
| 12 |
|
| 13 |
public function getDescription(): string { |
| 14 |
return __( 'A collection of useful tools to manage your tiered pricing data. Includes cleanup utilities and more.', 'tier-pricing-table' ); |
| 15 |
} |
| 16 |
|
| 17 |
public function getSlug(): string { |
| 18 |
return 'tools'; |
| 19 |
} |
| 20 |
|
| 21 |
public function run() { |
| 22 |
new ToolsEndpoints(); |
| 23 |
new Settings(); |
| 24 |
} |
| 25 |
} |
| 26 |
|