WC_Settings_Page::get_settings_ui_page │ public │ WC 10.9.0

Get the settings UI page adapter for this settings page.

Settings pages can override this to opt in to the settings UI renderer while retaining the classic WooCommerce settings page route and save flow.

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

Хуков нет.

Возвращает

SettingsUIPageInterface|null.

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

$WC_Settings_Page = new WC_Settings_Page();
$WC_Settings_Page->get_settings_ui_page(): ?SettingsUIPageInterface;

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

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

Код WC_Settings_Page::get_settings_ui_page() WC 11.3.0

public function get_settings_ui_page(): ?SettingsUIPageInterface {
	return null;
}