Automattic\WooCommerce\Admin\Settings

SettingsSection::get_save_adapterpublicWC 10.9.0

Get the default save adapter for fields in this section.

Method of the class: SettingsSection{}

No Hooks.

Returns

String.

Usage

$SettingsSection = new SettingsSection();
$SettingsSection->get_save_adapter( $parent_page ): string;
$parent_page(WC_Settings_Page) (required)
Parent settings page.

Changelog

Since 10.9.0 Introduced.

SettingsSection::get_save_adapter() code WC 11.0.1

public function get_save_adapter( \WC_Settings_Page $parent_page ): string {
	return 'form_post';
}