How do I access other plugins' settings?

It works! Thank you so much. Two follow up questions:

  1. I also need the value of the “New File Location” setting. I’ve tried a few guesses, but no luck. How/where can I find the name of that function as well?
  2. I notice that the line let dailyNotesPluginOptions = dailyNotesPluginInstance.options; isn’t used, and things appear to work without it. Is there a reason you included it that I’m missing?