Automattic\WooCommerce\Admin\Features\Blueprint\Exporters
ExportWCSettingsAccount{}└─ ExportWCSettings
Class ExportWCSettingsAccount
This class exports WooCommerce settings on the Account and Privacy page.
No Hooks.
Usage
$ExportWCSettingsAccount = new ExportWCSettingsAccount(); // use class methods
Methods
- public get_alias()
- public get_description()
- public get_label()
- protected get_page_id()
Notes
- Package: Automattic\WooCommerce\Admin\Features\Blueprint\Exporters
ExportWCSettingsAccount{} ExportWCSettingsAccount{} code WC 9.9.5
class ExportWCSettingsAccount extends ExportWCSettings { use UseWPFunctions; /** * Get the alias for this exporter. * * @return string */ public function get_alias() { return 'setWCSettingsAccount'; } /** * Return label used in the frontend. * * @return string */ public function get_label() { return __( 'Account and Privacy', 'woocommerce' ); } /** * Return description used in the frontend. * * @return string */ public function get_description() { return __( 'Includes all settings in WooCommerce | Settings | Account and Privacy.', 'woocommerce' ); } /** * Get the page ID for the settings page. * * @return string */ protected function get_page_id(): string { return 'account'; } }