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');
            }
        }
    }