Automattic\WooCommerce\Admin\Settings
SettingsSection::get_save_adapter
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() SettingsSection::get save adapter code WC 11.0.1
public function get_save_adapter( \WC_Settings_Page $parent_page ): string {
return 'form_post';
}