title: Why can't I enqueue multiple Google Fonts in WordPress functions.php?
body: <p>I'm using <code>wp_enqueue_style</code> to enqueue <a href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;1,400&amp;family=Neuton:ital,wght@0,300;0,400;0,700;1,400&amp;display=swap" rel="noreferrer">this Google Font file</a>. Here is my code:</p>
  <p><code>wp_enqueue_style( 'google-fonts', 'https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;1,400&amp;family=Neuton:ital,wght@0,300;0,400;0,700;1,400&amp;display=swap', [] );</code></p>
  <p>This is in my functions.php file.</p>
  <p>However, when I view source on my loaded page, the URL for that font file is cut down to: <a href="https://fonts.googleapis.com/css2?family=Neuton%3Aital%2Cwght%400%2C300%3B0%2C400%3B0%2C700%3B1%2C400" rel="noreferrer">https://fonts.googleapis.com/css2?family=Neuton%3Aital%2Cwght%400%2C300%3B0%2C400%3B0%2C700%3B1%2C400</a>&amp;display=swap&amp;ver=5.3.2</p>
  <p>As you can see, the first family param has been removed after being outputted through <code>wp_enqueue_style</code>. Is there a way to fix this without doing anything hacky? I think there may be an outdated way to build the URL for both font families to come through, but I'd rather be able to use what Google now provides. My original URL inside <code>wp_enqueue_style</code> is the URL generated by Google Fonts for me to embed.</p>