ExportWCCoreProfilerOptions.php
1 year ago
ExportWCPaymentGateways.php
1 year ago
ExportWCSettings.php
11 months ago
ExportWCSettingsAccount.php
1 year ago
ExportWCSettingsAdvanced.php
1 year ago
ExportWCSettingsEmails.php
1 year ago
ExportWCSettingsGeneral.php
1 year ago
ExportWCSettingsIntegrations.php
1 year ago
ExportWCSettingsProducts.php
1 year ago
ExportWCSettingsShipping.php
1 year ago
ExportWCSettingsSiteVisibility.php
1 year ago
ExportWCSettingsTax.php
11 months ago
ExportWCTaskOptions.php
1 year ago
ExportWCSettingsAdvanced.php
55 lines
| 1 | <?php |
| 2 | |
| 3 | declare( strict_types = 1); |
| 4 | |
| 5 | namespace Automattic\WooCommerce\Admin\Features\Blueprint\Exporters; |
| 6 | |
| 7 | use Automattic\WooCommerce\Blueprint\UseWPFunctions; |
| 8 | |
| 9 | /** |
| 10 | * Class ExportWCSettingsAdvanced |
| 11 | * |
| 12 | * This class exports WooCommerce settings on the Advanced page. |
| 13 | * |
| 14 | * @package Automattic\WooCommerce\Admin\Features\Blueprint\Exporters |
| 15 | */ |
| 16 | class ExportWCSettingsAdvanced extends ExportWCSettings { |
| 17 | use UseWPFunctions; |
| 18 | |
| 19 | /** |
| 20 | * Get the alias for this exporter. |
| 21 | * |
| 22 | * @return string |
| 23 | */ |
| 24 | public function get_alias() { |
| 25 | return 'setWCSettingsAdvanced'; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Return label used in the frontend. |
| 30 | * |
| 31 | * @return string |
| 32 | */ |
| 33 | public function get_label() { |
| 34 | return __( 'Advanced', 'woocommerce' ); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Return description used in the frontend. |
| 39 | * |
| 40 | * @return string |
| 41 | */ |
| 42 | public function get_description() { |
| 43 | return __( 'Includes all settings in WooCommerce | Settings | Advanced.', 'woocommerce' ); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Get the page ID for the settings page. |
| 48 | * |
| 49 | * @return string |
| 50 | */ |
| 51 | protected function get_page_id(): string { |
| 52 | return 'advanced'; |
| 53 | } |
| 54 | } |
| 55 |