Automattic\WooCommerce\Internal\Admin

Settings::__construct()publicWC 1.0

Hook into WooCommerce.

Method of the class: Settings{}

No Hooks.

Return

null. Nothing.

Usage

$Settings = new Settings();
$Settings->__construct();

Settings::__construct() code WC 7.1.1

public function __construct() {
	// Old settings injection.
	add_filter( 'woocommerce_components_settings', array( $this, 'add_component_settings' ) );
	// New settings injection.
	add_filter( 'woocommerce_admin_shared_settings', array( $this, 'add_component_settings' ) );
	add_filter( 'woocommerce_settings_groups', array( $this, 'add_settings_group' ) );
	add_filter( 'woocommerce_settings-wc_admin', array( $this, 'add_settings' ) );
}