Automattic\WooCommerce\Admin\Settings

SettingsUIPageInterface::get_save_adapter │ public │ WC 10.9.0

Get the default save adapter for fields on this page.

Supported values are form_post and none.

Метод класса: SettingsUIPageInterface{}

Хуков нет.

Возвращает

string.

Использование

$SettingsUIPageInterface = new SettingsUIPageInterface();
$SettingsUIPageInterface->get_save_adapter( $section ): string;
$section(строка) (обязательный)
Section id. Empty string means the default section.

Список изменений

С версии 10.9.0 Введена.

Код SettingsUIPageInterface::get_save_adapter() WC 11.2.2

public function get_save_adapter( string $section ): string;