Automattic\WooCommerce\Internal\Admin\Settings
LegacySettingsPageAdapter::__construct
Constructor.
Method of the class: LegacySettingsPageAdapter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$LegacySettingsPageAdapter = new LegacySettingsPageAdapter(); $LegacySettingsPageAdapter->__construct( $settings_page );
- $settings_page(WC_Settings_Page) (required)
- Legacy settings page.
Changelog
| Since 10.9.0 | Introduced. |
LegacySettingsPageAdapter::__construct() LegacySettingsPageAdapter:: construct code WC 10.9.1
public function __construct( \WC_Settings_Page $settings_page ) {
$this->settings_page = $settings_page;
}