Tribe__Main::get_post_types()
Returns the post types registered by Tribe plugins.
Return
(array) Slugs for all Post Types registered.
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() );
}
Changelog
| Version | Description |
|---|---|
| 4.0.1 | Introduced. |