WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Init::maybe_remove_nav_feature() public WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$Init = new Init();
$Init->*/;

Code of Init::maybe_remove_nav_feature() WC 5.3.0

<?php
*/
	public function preload_options( $options ) {
		$options[] = self::TOGGLE_OPTION_NAME;

		return $options;
	}

	/**
* Reloads the page when the option is toggled to make sure all nav features are loaded.
*
* @param string $old_value Old value.
* @param string $value     New value.
*/
	public static function reload_page_on_toggle( $old_value, $value ) {
		if ( $old_value === $value ) {