WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Menu::hide_wp_menu_item() public WC 1.0

Add a callback to identify and hide pages in the WP menu.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Menu::hide_wp_menu_item( $callback );
$callback (required)
-

Code of Menu::hide_wp_menu_item() WC 5.3.0

<?php
public static function hide_wp_menu_item( $callback ) {
	self::$callbacks[ $callback ] = true;
}