| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/woocommerce/src/Admin/Settings/ |
Upload File : |
<?php
/**
* Settings UI page contract.
*/
declare( strict_types=1 );
namespace Automattic\WooCommerce\Admin\Settings;
defined( 'ABSPATH' ) || exit;
/**
* Contract for settings pages that opt into the settings UI renderer.
*
* @since 10.9.0
*/
interface SettingsUIPageInterface {
/**
* Get the stable page id used for scoping the settings UI.
*
* @since 10.9.0
*
* @return string
*/
public function get_page_id(): string;
/**
* Build the canonical settings schema for a section.
*
* @since 10.9.0
*
* @param string $section Section id. Empty string means the default section.
* @return array
*/
public function get_schema( string $section ): array;
/**
* Get script handles that must be loaded before the settings UI app mounts.
*
* @since 10.9.0
*
* @param string $section Section id. Empty string means the default section.
* @return string[]
*/
public function get_script_handles( string $section ): array;
/**
* Get the default save adapter for fields on this page.
*
* Supported values are `form_post` and `none`.
*
* @since 10.9.0
*
* @param string $section Section id. Empty string means the default section.
* @return string
*/
public function get_save_adapter( string $section ): string;
}