Automattic\WooCommerce\Admin\Settings
SettingsUIPageInterface::get_save_adapter
Get the default save adapter for fields on this page.
Supported values are form_post and none.
Method of the class: SettingsUIPageInterface{}
No Hooks.
Returns
string.
Usage
$SettingsUIPageInterface = new SettingsUIPageInterface(); $SettingsUIPageInterface->get_save_adapter( $section ): string;
- $section(string) (required)
- Section id. Empty string means the default section.
Changelog
| Since 10.9.0 | Introduced. |
SettingsUIPageInterface::get_save_adapter() SettingsUIPageInterface::get save adapter code WC 11.3.0
public function get_save_adapter( string $section ): string;