diff --git a/lib/experimental/register-webfonts-from-theme-json.php b/lib/experimental/register-webfonts-from-theme-json.php index 071d88e325bc8..576d74ab0c56b 100644 --- a/lib/experimental/register-webfonts-from-theme-json.php +++ b/lib/experimental/register-webfonts-from-theme-json.php @@ -90,6 +90,8 @@ function gutenberg_register_webfonts_from_theme_json() { } foreach ( $webfonts as $webfont ) { wp_webfonts()->register_webfont( $webfont ); + } + foreach ( $webfonts as $webfont ) { wp_webfonts()->enqueue_webfont( $webfont['font-family'] ); } }