Tribe__Main::get_post_types()

Returns the post types registered by Tribe plugins.


Return

(array) Slugs for all Post Types registered.


Top ↑

Source

File: src/Tribe/Main.php

	public static function get_post_types() {
		// we default the post type array to empty in tribe-common. Plugins like TEC add to it
		return apply_filters( 'tribe_post_types', array() );
	}

Top ↑

Changelog

Changelog
Version Description
4.0.1 Introduced.