Tribe__Events__Organizer::linked_post_new_form( string $post_type )
Outputs the Organizer form fields for creating new organizers
Contents
Parameters
- $post_type
-
(string) (Required) Post type of form being output
Source
File: src/Tribe/Organizer.php
public function linked_post_new_form( $post_type ) { if ( self::POSTTYPE !== $post_type ) { return; } $template = Tribe__Events__Main::instance()->plugin_path . 'src/admin-views/create-organizer-fields.php'; /** * Filters the template path of the template that holds the organizer form fields * * @param string $template Template path * * @since 4.6 */ include apply_filters( 'tribe_events_tribe_organizer_new_form_fields', $template ); }
Changelog
Version | Description |
---|---|
4.2 | Introduced. |