Automattic\WooCommerce\Admin\Settings
SettingsSectionUIPageProviderInterface::get_settings_ui_page
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() SettingsSectionUIPageProviderInterface::get settings ui page code WC 11.0.1
public function get_settings_ui_page( \WC_Settings_Page $parent_page ): ?SettingsUIPageInterface;