WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Init::__construct() public WC 1.0

Hook into WooCommerce.

{} It's a method of the class: Init{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of Init::__construct() WC 6.1.1

public function __construct() {
	add_filter( 'woocommerce_settings_features', array( $this, 'add_feature_toggle' ) );
	add_action( 'update_option_' . self::TOGGLE_OPTION_NAME, array( $this, 'reload_page_on_toggle' ), 10, 2 );
	add_action( 'admin_enqueue_scripts', array( $this, 'maybe_enqueue_opt_out_scripts' ) );

	if ( Features::is_enabled( 'navigation' ) ) {
		Menu::instance()->init();
		CoreMenu::instance()->init();
		Screen::instance()->init();
	}
}