Automattic\WooCommerce\Admin\Settings
LegacySettingsPageAdapter{}
Adapts a WC_Settings_Page instance into the settings UI page contract.
Extensions can use this class directly for native-field migrations, or subclass it to add component metadata, script handles, or custom save behavior.
Хуков нет.
Использование
$LegacySettingsPageAdapter = new LegacySettingsPageAdapter(); // use class methods
Методы
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
- ERROR: no method name found on line ``
Список изменений
| С версии 10.9.0 | Введена. |
Код LegacySettingsPageAdapter{} LegacySettingsPageAdapter{} WC 11.2.2
class LegacySettingsPageAdapter extends \Automattic\WooCommerce\Internal\Admin\Settings\LegacySettingsPageAdapter {}