Automattic\WooCommerce\Admin\Features\Navigation

CoreMenu::register_post_types()publicWC 1.0

Register all core post types.

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

No Hooks.

Return

null. Nothing.

Usage

$CoreMenu = new CoreMenu();
$CoreMenu->register_post_types();

Code of CoreMenu::register_post_types() WC 7.1.0

public function register_post_types() {
	Screen::register_post_type( 'shop_order' );
	Screen::register_post_type( 'product' );
	Screen::register_post_type( 'shop_coupon' );
}