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