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
Contents
Parameters
- $container
-
(string) (Required) Container index that holds submitted data
- $post_type
-
(string) (Required) Post type of linked post
Source
File: src/Tribe/Organizer.php
public function linked_post_type_container( $container, $post_type ) { if ( self::POSTTYPE === $post_type ) { return 'organizer'; } return $container; }
Changelog
Version | Description |
---|---|
4.2 | Introduced. |