Automattic\WooCommerce\Admin\Features\Navigation

CoreMenu::get_excluded_items()public staticWC 1.0

Get items excluded from WooCommerce menu migration.

Method of the class: CoreMenu{}

Return

Array.

Usage

$result = CoreMenu::get_excluded_items();

CoreMenu::get_excluded_items() code WC 8.7.0

public static function get_excluded_items() {
	$excluded_items = array(
		'woocommerce',
		'wc-reports',
		'wc-settings',
		'wc-status',
	);

	return apply_filters( 'woocommerce_navigation_core_excluded_items', $excluded_items );
}