Tribe__Events__Linked_Posts::allow_multiple( string $post_type )

Returns whether or not the provided linked post type allows multiple posts of that type


Parameters

$post_type

(string) (Required) Post type


Top ↑

Return

(boolean)


Top ↑

Source

File: src/Tribe/Linked_Posts.php

	public function allow_multiple( $post_type ) {
		return ! empty( $this->linked_post_types[ $post_type ]['allow_multiple'] );
	}

Top ↑

Changelog

Changelog
Version Description
4.2 Introduced.