tribe_is_linked_post_type( string $post_type )
Returns whether or not the provided post type is a linked post type
Contents
Parameters
- $post_type
-
(string) (Required) Post type slug
Return
(boolean)
Source
File: src/functions/advanced-functions/linked-posts.php
function tribe_is_linked_post_type( $post_type ) { return Tribe__Events__Linked_Posts::instance()->is_linked_post_type( $post_type ); }
Changelog
Version | Description |
---|---|
4.2 | Introduced. |