Tribe__Events__Pro__Main::addSupportsThumbnail( array $post_type_args )

Adds thumbnail/featured image support to Organizers and Venues when PRO is activated.


Parameters

$post_type_args

(array) (Required) The current register_post_type args.


Top ↑

Return

(array) The new register_post_type args.


Top ↑

Source

File: src/Tribe/Main.php

		public function addSupportsThumbnail( $post_type_args ) {
			$post_type_args['supports'][] = 'thumbnail';

			return $post_type_args;
		}