Tribe__Events__Linked_Posts::allow_multiple( string $post_type )
Returns whether or not the provided linked post type allows multiple posts of that type
Contents
Parameters
- $post_type
-
(string) (Required) Post type
Return
(boolean)
Source
File: src/Tribe/Linked_Posts.php
public function allow_multiple( $post_type ) {
return ! empty( $this->linked_post_types[ $post_type ]['allow_multiple'] );
}
Changelog
| Version | Description |
|---|---|
| 4.2 | Introduced. |