Automattic\WooCommerce\Admin\Features\Navigation

Screen::get_post_types()public staticWC 1.0

Returns an array of registered post types.

Method of the class: Screen{}

Hooks from the method

Return

null. Nothing.

Usage

$result = Screen::get_post_types();

Screen::get_post_types() code WC 7.3.0

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