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 (null).

Usage

$result = Screen::get_post_types();

Screen::get_post_types() code WC 8.7.0

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