Automattic\WooCommerce\Admin\Features\Blueprint\Exporters

ExportWCSettingsAdvanced{}WC 1.0└─ ExportWCSettings

Class ExportWCSettingsAdvanced

This class exports WooCommerce settings on the Advanced page.

No Hooks.

Usage

$ExportWCSettingsAdvanced = new ExportWCSettingsAdvanced();
// use class methods

Methods

  1. public get_alias()
  2. public get_description()
  3. public get_label()
  4. protected get_page_id()

Notes

  • Package: Automattic\WooCommerce\Admin\Features\Blueprint\Exporters

ExportWCSettingsAdvanced{} code WC 9.9.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 __( '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';
	}
}