Tribe__Events__Pro__Main::addSupportsThumbnail( array $post_type_args )
Adds thumbnail/featured image support to Organizers and Venues when PRO is activated.
Contents
Parameters
- $post_type_args
-
(array) (Required) The current register_post_type args.
Return
(array) The new register_post_type args.
Source
File: src/Tribe/Main.php
public function addSupportsThumbnail( $post_type_args ) { $post_type_args['supports'][] = 'thumbnail'; return $post_type_args; }