Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
immortalist
/
wp-content
/
plugins
/
woocommerce
/
src
/
Admin
/
Features
/
Blueprint
/
Exporters
:
ExportWCSettingsGeneral.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare( strict_types = 1); namespace Automattic\WooCommerce\Admin\Features\Blueprint\Exporters; use Automattic\WooCommerce\Blueprint\UseWPFunctions; /** * Class ExportWCSettingsGeneral * * This class exports WooCommerce settings on the General page. * * @package Automattic\WooCommerce\Admin\Features\Blueprint\Exporters */ class ExportWCSettingsGeneral extends ExportWCSettings { use UseWPFunctions; /** * Get the alias for this exporter. * * @return string */ public function get_alias() { return 'setWCSettingsGeneral'; } /** * Return label used in the frontend. * * @return string */ public function get_label() { return __( 'General', 'woocommerce' ); } /** * Return description used in the frontend. * * @return string */ public function get_description() { return __( 'Includes all settings in WooCommerce | Settings | General.', 'woocommerce' ); } /** * Get the page ID for the settings page. * * @return string */ protected function get_page_id(): string { return 'general'; } }