$url = plugins_url('pagination.css', 'list-category-posts-with-pagination/x');
            wp_enqueue_style('lcpwp', $url);
        }
    }
    /**
     * replace http: URL with https: URL
     * @param string $url
     * @return string
     */
    public static function fixURL($url)
    {
        // only fix if source URL starts with http://
        if (stripos($url, 'http://') === 0) {
            $url = 'https' . substr($url, 4);
        }
        return $url;
    }
    /**
     * filter uploads dir so that plugins using it to determine upload URL also work
     * @param array $uploads
     * @return array
     */
    public static function uploadDir($uploads)
    {
        $uploads['url'] = self::fixURL($uploads['url']);
        $uploads['baseurl'] = self::fixURL($uploads['baseurl']);
        return $uploads;
    }
}
SSLInsecureContentFixer::run();