Create Organizers
Organizers can be created programmatically using:
tribe_organizers()->set_args( $organizer_args )->create();
The $organizer_args is an array with key-value pairs, accepting arguments like in this example:
$organizer_args = [
'organizer' => "Programmatically Created Organizer",
'status' => 'publish',
'phone' => 1231231234,
'website' => 'https://example.com',
'email' => 'test@example.com',
'excerpt' => 'la la la la',
'description' => 'testing',
];
The only field that is required when creating a new organizer is the title, which can be aliased as 'organizer'
Further information about accepted arguments when creating an organizer:
int$phoneThe phone contact information for the organizerstring$websiteA valid external URL for the organizerstring$emailThe e-mail address to contact the organizer.string$excerptAn optional hand-crafted summary describing your organizer.string$descriptionA description for your organizer. Can include HTML.