Automattic\WooCommerce\Admin\Features\Blueprint\Exporters
ExportWCSettingsIntegrations{}
Class ExportWCSettingsProducts
This class exports WooCommerce settings and implements the StepExporter and HasAlias interfaces.
Хуков нет.
Использование
$ExportWCSettingsIntegrations = new ExportWCSettingsIntegrations(); // use class methods
Методы
- public get_alias()
- public get_description()
- public get_label()
- protected get_page_id()
Заметки
- Пакет: Automattic\WooCommerce\Admin\Features\Blueprint\Exporters
Код ExportWCSettingsIntegrations{} ExportWCSettingsIntegrations{} WC 9.8.5
class ExportWCSettingsIntegrations extends ExportWCSettings { use UseWPFunctions; /** * Get the alias for this exporter. * * @return string */ public function get_alias() { return 'setWCSettingsIntegrations'; } /** * Return label used in the frontend. * * @return string */ public function get_label() { return __( 'Integrations', 'woocommerce' ); } /** * Return description used in the frontend. * * @return string */ public function get_description() { return __( 'It includes all settings in WooCommerce | Settings | Integrations.', 'woocommerce' ); } /** * Get the page ID for the settings page. * * @return string */ protected function get_page_id(): string { return 'integration'; } }