Automattic\WooCommerce\Admin\Settings

SettingsSectionInterface::get_save_adapterpublicWC 10.9.0

Get the default save adapter for fields in this section.

Supported values are form_post and none.

Method of the class: SettingsSectionInterface{}

No Hooks.

Returns

String.

Usage

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

Changelog

Since 10.9.0 Introduced.

SettingsSectionInterface::get_save_adapter() code WC 11.0.1

public function get_save_adapter( \WC_Settings_Page $parent_page ): string;