private function enable_thumbnail_support()
    {
        $enabled_thumbnails = Config::get('images.supports_featured_images');

        if (! empty($enabled_thumbnails)) {
            if (\is_array($enabled_thumbnails)) {
                \add_theme_support('post-thumbnails', $enabled_thumbnails);
            } elseif ($enabled_thumbnails === true) {
                \add_theme_support('post-thumbnails');
            }
        }
    }
private function enable_thumbnail_support()
    {
        $enabled_thumbnails = Config::get('images.supports_featured_images');

        if (! empty($enabled_thumbnails)) {
            if (\is_array($enabled_thumbnails)) {
                \add_theme_support('post-thumbnails', $enabled_thumbnails);
            } elseif ($enabled_thumbnails === true) {
                \add_theme_support('post-thumbnails');
            }
        }
    }
private function enable_thumbnail_support ( ) { $ enabled_thumbnails = Config :: get ( 'images.supports_featured_images' ) ; if ( ! empty ( $ enabled_thumbnails ) ) { if ( \ is_array ( $ enabled_thumbnails ) ) { \ add_theme_support ( 'post-thumbnails' , $ enabled_thumbnails ) ; } elseif ( $ enabled_thumbnails === true ) { \ add_theme_support ( 'post-thumbnails' ) ; } } }
Enabled theme support for thumbnails.

Uses the value of Config::get( 'images.supports_featured_images' ) enable thumbnails for all post types or a select few.

@since  1.0.0
Enabled theme support for thumbnails .