WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features\Navigation

Screen::register_post_type() public WC 1.0

Register post type for use in WooCommerce Navigation screens.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Screen::register_post_type( $post_type );
$post_type(string) (required)
Post type to add.

Code of Screen::register_post_type() WC 5.2.2

<?php
public static function register_post_type( $post_type ) {
	if ( ! in_array( $post_type, self::$post_types, true ) ) {
		self::$post_types[] = $post_type;
	}
}