Tribe__Events__Organizer::linked_post_type_container( string $container, string $post_type )

Filters the index that contains the linked post type data during form submission


Parameters

$container

(string) (Required) Container index that holds submitted data

$post_type

(string) (Required) Post type of linked post


Top ↑

Source

File: src/Tribe/Organizer.php

	public function linked_post_type_container( $container, $post_type ) {
		if ( self::POSTTYPE === $post_type ) {
			return 'organizer';
		}

		return $container;
	}

Top ↑

Changelog

Changelog
Version Description
4.2 Introduced.