WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Screen::get_post_types() public WC 1.0

Returns an array of registered post types.

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

Hooks from the method
Return

null. Nothing.

Usage

$result = Screen::get_post_types();

Code of Screen::get_post_types() WC 5.3.0

<?php
public static function get_post_types() {
	return apply_filters( 'woocommerce_navigation_post_types', self::$post_types );
}