docs: function wpPot (options) {
    // Reset states
    let translations = {};
  
    // Set options
    options = setDefaultOptions(options);
  
    // Find and sort file paths
    const files = pathSort(matched.sync(options.src, options.globOpts));
  
    // Parse files
    for (const file of files) {
      const filecontent = fs.readFileSync(file).toString();
      const translationParser = new TranslationParser(options);
      translations = translationParser.parseFile(filecontent, file, translations);
    }
  
    options = setHeaders(options);
  
    const potMaker = new PotMaker(options);
    const potContents = potMaker.generatePot(translations);
  
    if (options.writeFile) {
      writePot(potContents, options);
    }
  
    return potContents;
  }