Automattic\WooCommerce\Admin\Settings

SettingsSectionUIPageProviderInterface::get_settings_ui_pagepublicWC 11.0.0

Get the native Settings UI page for this registered section.

Return null to use the default registered section adapter.

Method of the class: SettingsSectionUIPageProviderInterface{}

No Hooks.

Returns

SettingsUIPageInterface|null.

Usage

$SettingsSectionUIPageProviderInterface = new SettingsSectionUIPageProviderInterface();
$SettingsSectionUIPageProviderInterface->get_settings_ui_page( $parent_page ): ?SettingsUIPageInterface;
$parent_page(WC_Settings_Page) (required)
Parent settings page.

Changelog

Since 11.0.0 Introduced.

SettingsSectionUIPageProviderInterface::get_settings_ui_page() code WC 11.0.1

public function get_settings_ui_page( \WC_Settings_Page $parent_page ): ?SettingsUIPageInterface;