diff --git a/affinity/functions.php b/affinity/functions.php index 3ab3fd1b7aaf01efbe7ebf2182ee486d3c0a0a09..9576064b8e66b21e1ed77abe097b0c33542eaf6e 100644 --- a/affinity/functions.php +++ b/affinity/functions.php @@ -248,6 +248,13 @@ function affinity_fonts_url() { $font_families[] = 'Lora:400,400italic,700,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/alves/functions.php b/alves/functions.php index b8de9819d0fadb16fb00944000c2763ee4e0984b..be44082b3ca8ed32d161ee52e131fe1df2c61aad 100755 --- a/alves/functions.php +++ b/alves/functions.php @@ -186,6 +186,13 @@ function alves_fonts_url() { $font_families[] = 'Karla:400,700,400italic,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/apostrophe-2/functions.php b/apostrophe-2/functions.php index 2e6593ab58ed2f999d7263e5ca5bc0540a1c74a7..13a7256b505e3a47a774a748721796b783859598 100644 --- a/apostrophe-2/functions.php +++ b/apostrophe-2/functions.php @@ -246,6 +246,13 @@ function apostrophe_2_fonts_url() { $font_families[] = 'Open Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext,cyrillic' ), diff --git a/balasana/functions.php b/balasana/functions.php index 899d7357ee48179f3b3b5740d14322a0ecf6ebc8..3deeec9c697092502743c5bb413452f9dd3f4390 100755 --- a/balasana/functions.php +++ b/balasana/functions.php @@ -157,6 +157,13 @@ function balasana_fonts_url() { $font_families[] = 'Roboto:400,400i,700,700i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/barnsbury/functions.php b/barnsbury/functions.php index b1a09511cff40bee4e8ade5aa2077f4a4ba723ab..f16e5d147c4657b978cfdccbcb7e8ac1f4d4ec4b 100755 --- a/barnsbury/functions.php +++ b/barnsbury/functions.php @@ -140,6 +140,13 @@ function barnsbury_fonts_url() { $font_families[] = 'Rubik:400,700,400italic,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/brompton/functions.php b/brompton/functions.php index bbb5ba463f7dc74f5ca0a29e9e5506417160f612..a49311a2d16e4c155cd423ebf88aac0c1a29cfb4 100755 --- a/brompton/functions.php +++ b/brompton/functions.php @@ -161,6 +161,13 @@ function brompton_fonts_url() { $font_families[] = 'Nunito Sans:400,400i,700,700i,900,900i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/button-2/functions.php b/button-2/functions.php index a80f4afc01eba36e50d63868bb3a8840411041e2..047fa813e9350dfad61cf182d0c460a90a605af9 100644 --- a/button-2/functions.php +++ b/button-2/functions.php @@ -232,6 +232,13 @@ function button_2_fonts_url() { $font_families[] = 'Lora:400italic,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/calm-business/functions.php b/calm-business/functions.php index 5565fb5eaa9eb444c30c2cdf8fba9effcad9a786..52c97d1d58f49ba6f6d6299722bba8e0f756571f 100644 --- a/calm-business/functions.php +++ b/calm-business/functions.php @@ -84,6 +84,13 @@ function calm_business_fonts_url() { $font_families[] = 'Poppins:400,400i,600,600i,700,700i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/coutoire/functions.php b/coutoire/functions.php index 9b2642aa130a0140bc77a0478104430c0c6d15ea..1ca6c6f6b529a09126a3592aa5962b5298661649 100755 --- a/coutoire/functions.php +++ b/coutoire/functions.php @@ -145,6 +145,13 @@ function coutoire_fonts_url() { $font_families[] = 'EB Garamond:400,400i,600'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/dalston/functions.php b/dalston/functions.php index 6d5f3c4208d2699eba822c8f0d203f4d46b98dba..1dbc43d3f4b0f460ea8c4748dea8f520f4f09647 100755 --- a/dalston/functions.php +++ b/dalston/functions.php @@ -157,6 +157,13 @@ function dalston_fonts_url() { $font_families[] = 'Crimson Text:400,600,700,400italic,600italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/dara/functions.php b/dara/functions.php index 6802175001a7f231d9101821680deb60090ae06c..e3b82882b1c4581647d3e3a5139638325907d94d 100644 --- a/dara/functions.php +++ b/dara/functions.php @@ -220,6 +220,14 @@ function dara_fonts_url() { if ( 'off' !== $yrsa ) { $font_families[] = 'Yrsa:300,400,700'; } + + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/dyad-2/functions.php b/dyad-2/functions.php index b0571b476e74bc8a5c0d951334e362bf0a4dc893..037259aee8c35512b198d43f243d53d102b66d71 100644 --- a/dyad-2/functions.php +++ b/dyad-2/functions.php @@ -287,6 +287,13 @@ function dyad_2_fonts_url() { $font_families[] = 'Noto Serif:400,400italic,700,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/elegant-business/functions.php b/elegant-business/functions.php index 6263f26d633af6191331127d364cb8721ad2dc19..d10307cc5407e212cc3af1c891f7866b06350579 100644 --- a/elegant-business/functions.php +++ b/elegant-business/functions.php @@ -115,6 +115,13 @@ function elegant_business_fonts_url() { $font_families[] = 'Source Serif Pro:400,700,400italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/exford/functions.php b/exford/functions.php index 99724beab4cdb209a64e5ef64e65d8f519d7e67e..617fac024b4993ad2d743061bca28ad25364b3db 100755 --- a/exford/functions.php +++ b/exford/functions.php @@ -148,6 +148,13 @@ function exford_fonts_url() { $font_families[] = 'Source Sans Pro:400,700,400i,700i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/friendly-business/functions.php b/friendly-business/functions.php index c907410b6110ff30ac96b3c53ce30aea2750a605..fd0bbdcb3009c3751ec5efe475856cedaef9e2c0 100644 --- a/friendly-business/functions.php +++ b/friendly-business/functions.php @@ -85,6 +85,13 @@ function friendly_business_fonts_url() { $font_families[] = 'Rubik:400,700,400italic,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/hever/functions.php b/hever/functions.php index 66e03bd8ab9d9e7cabc938b5a791f270ce06ff3d..db3856cd6da6dc308ec935f5cffec12dfa73a443 100644 --- a/hever/functions.php +++ b/hever/functions.php @@ -111,6 +111,13 @@ function hever_fonts_url() { $font_families[] = 'PT Sans:400,400i,700,700i'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/ibis/functions.php b/ibis/functions.php index dd15dd8dd9041d7eef0d6576ff9f4ecc0a6464cc..dbcb4aa3cc841961db8aae1aa16f785180abeece 100755 --- a/ibis/functions.php +++ b/ibis/functions.php @@ -47,6 +47,13 @@ function ibis_fonts_url() { $font_families[] = 'Lora:400,400i,600,600i,700,700i'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/intergalactic-2/functions.php b/intergalactic-2/functions.php index ac8c2654f6ff2597021c38b45bb39e05b8531007..540581ae7650ac76a93cf64758fb74f91248e9de 100644 --- a/intergalactic-2/functions.php +++ b/intergalactic-2/functions.php @@ -255,6 +255,13 @@ function intergalactic_2_fonts_url() { $font_families = array(); $font_families[] = 'Lato:300,400,700,300italic,400italic,700italic&subset=latin,latin-ext'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/karuna/functions.php b/karuna/functions.php index 5da3bb0e5b99537ec4c057a933de5d3e3359438f..33a91bc0ba9027e15eb6bd76c2b98ff4bb9ad86e 100644 --- a/karuna/functions.php +++ b/karuna/functions.php @@ -299,6 +299,13 @@ function karuna_fonts_url() { $font_families = array(); $font_families[] = 'Karla:400,400italic,700,700italic'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/leven/functions.php b/leven/functions.php index 30fb64608d1786656fc659c6347c64ddb50cbbf3..7bee2f1a471588e096ae01d80f16f74ade20d0ef 100755 --- a/leven/functions.php +++ b/leven/functions.php @@ -142,6 +142,13 @@ function leven_fonts_url() { $font_families[] = 'Crimson Text:400,400i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/libre-2/functions.php b/libre-2/functions.php index 01b770cfa74d6a2707b6f55e8cba2edbb895b425..9f94979953f2563244234b665c6dfc0fe81eba55 100644 --- a/libre-2/functions.php +++ b/libre-2/functions.php @@ -207,6 +207,13 @@ function libre_2_fonts_url() { $font_families = array(); $font_families[] = 'Libre Baskerville:400,400italic,700'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/libretto/functions.php b/libretto/functions.php index def4ac5f44c5453e6ab5c8b54eb9b214ba929d1c..aeb40e8d5f2e863ecfd41069047250eeced1aaa3 100644 --- a/libretto/functions.php +++ b/libretto/functions.php @@ -259,6 +259,13 @@ function libretto_fonts_url() { $font_families[] = 'Droid Sans Mono:400'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/lodestar/functions.php b/lodestar/functions.php index 41f20ad00ef7c8486cc78096a7e51a05e25fe566..57e6fcfa1bff873e2fd8f4900b2722b07a533aa9 100644 --- a/lodestar/functions.php +++ b/lodestar/functions.php @@ -172,6 +172,13 @@ function lodestar_fonts_url() { $font_families[] = 'Karla:400,400italic,700,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/mayland/functions.php b/mayland/functions.php index 6bb8b0fe7b7d29d321dbc275c67618efef561f15..55f1738c1ab69c7ed704af5e31aad5e5d2afd9fa 100755 --- a/mayland/functions.php +++ b/mayland/functions.php @@ -138,6 +138,13 @@ function mayland_fonts_url() { $font_families[] = 'Poppins:400,400i,600,600i'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/maywood/functions.php b/maywood/functions.php index 24b5f6fecc1bb948aa3ecc2cfce0035637b29f4d..804c92837236e2e91c44de46e42286759aa2032a 100755 --- a/maywood/functions.php +++ b/maywood/functions.php @@ -137,6 +137,13 @@ function maywood_fonts_url() { $font_families[] = 'IBM Plex Sans:300,300i,500,500i,700'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/modern-business/functions.php b/modern-business/functions.php index bc10b6b8fce78816bc1d7d88d3a2421c6071bba5..490a09c32d90158800ec830b346bebcfc40e6988 100644 --- a/modern-business/functions.php +++ b/modern-business/functions.php @@ -79,6 +79,14 @@ function modern_business_fonts_url() { if ( 'off' !== $font ) { $font_families[] = 'IBM Plex Sans:300,300i,500,700'; } + + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/morden/functions.php b/morden/functions.php index 98f81a55ac3577f92fb5e26d3f9a8f913e5002a0..2fa40c4111af6eee4cdde8f0d0c49f68b73f6a86 100755 --- a/morden/functions.php +++ b/morden/functions.php @@ -110,6 +110,13 @@ function morden_fonts_url() { $font_families[] = 'Noto Sans:400,400i,700,700i'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/penscratch-2/functions.php b/penscratch-2/functions.php index cb1c7b153e8e768b9331a8a1d524c560c78e00a6..ab9aeca7d61b305347c7b3318b9792f69bef2228 100644 --- a/penscratch-2/functions.php +++ b/penscratch-2/functions.php @@ -265,6 +265,13 @@ function penscratch_2_fonts_url() { $font_families = array(); $font_families[] = 'Roboto Slab:300,400,700'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/pique/functions.php b/pique/functions.php index 0e79fada3606a9a418e6d08ed710a98064ca5b54..20a4b6133a484051b0fa17e7c8f9eb71e56168c0 100644 --- a/pique/functions.php +++ b/pique/functions.php @@ -259,6 +259,13 @@ function pique_fonts_url() { $font_families[] = 'Karla:400,700,400italic,700italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/professional-business/functions.php b/professional-business/functions.php index 4cf5935cf4fc29392df73b757f7a7890a1f2ba21..bb81713f18e2cb7a80c83dcc326063dad58f935e 100644 --- a/professional-business/functions.php +++ b/professional-business/functions.php @@ -84,6 +84,13 @@ function professional_business_fonts_url() { $font_families[] = 'Crimson Text:400,600,700,400italic,600italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/rebalance/functions.php b/rebalance/functions.php index 3393731aaca332463853679a2781deefb5721885..9d4fb1db53f69f7ce3e37bdbe4c46f52b98c5b15 100644 --- a/rebalance/functions.php +++ b/rebalance/functions.php @@ -226,6 +226,13 @@ function rebalance_fonts_url() { $font_families[] = 'Libre Baskerville:700,900,400italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/rivington/functions.php b/rivington/functions.php index adaacfa03ca8f4efc0d279c1dcd60f3881a9e3fa..ea3da59146433368cfc3fe46c45138ed695dea02 100755 --- a/rivington/functions.php +++ b/rivington/functions.php @@ -146,6 +146,13 @@ function rivington_fonts_url() { $font_families[] = 'Poppins:400,400i,600,600i'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/rockfield/functions.php b/rockfield/functions.php index 39b237c76ba6acc818ccddab50591384a99d483e..a775e6ecc22c1c1c2df081ac4498c774b7606e39 100755 --- a/rockfield/functions.php +++ b/rockfield/functions.php @@ -110,6 +110,13 @@ function rockfield_fonts_url() { $font_families[] = 'Lora:400,400i,700,700i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/scratchpad/functions.php b/scratchpad/functions.php index 8ef967b703318f1392072e34b7f2260af5747038..3d3d6eaabed1edfbdefc12b955ad64d491625dde 100644 --- a/scratchpad/functions.php +++ b/scratchpad/functions.php @@ -303,6 +303,13 @@ function scratchpad_fonts_url() { $font_families[] = 'Kalam:400,700'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/seedlet/functions.php b/seedlet/functions.php index 5536bd0fa5a49392562ef406fbc0f39d6ac0210d..a639d3b220819d807727de9d1481cc1c4cd1ce8d 100755 --- a/seedlet/functions.php +++ b/seedlet/functions.php @@ -305,6 +305,13 @@ function seedlet_fonts_url() { $font_families[] = 'Playfair Display:ital,wght@0,400;0,700;1,400'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/shawburn/functions.php b/shawburn/functions.php index 3f044b8aa88d93305f5e75580106e7270103e41c..0ee41686f3dc8081d6eaeb85aac00190a76ed419 100755 --- a/shawburn/functions.php +++ b/shawburn/functions.php @@ -111,6 +111,13 @@ function shawburn_fonts_url() { $font_families[] = 'PT Serif:400,400i,700,700i'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/sketch/functions.php b/sketch/functions.php index 231a7b1347776b72d25e2e40ea187fffd95a7bdc..13d05150353f0ebedfb31d87991b6ca997d24a17 100644 --- a/sketch/functions.php +++ b/sketch/functions.php @@ -241,6 +241,13 @@ function sketch_fonts_url() { $font_families = array(); $font_families[] = 'Lato:300,400,700,300italic,400italic,700italic'; + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/sophisticated-business/functions.php b/sophisticated-business/functions.php index fd20906d1a7909357f7c1ba4032e650fc82eabc8..6c9cd22a4dfe891a876c7348c82e331e23eb5864 100644 --- a/sophisticated-business/functions.php +++ b/sophisticated-business/functions.php @@ -87,6 +87,13 @@ function sophisticated_business_fonts_url() { $font_families[] = 'Poppins:400,600,700,400italic,600italic'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/stow/functions.php b/stow/functions.php index f08a684725604a7ac3ae20da0af2e9a538af952a..4d587b22c1c20d461db114178e02f59508895528 100755 --- a/stow/functions.php +++ b/stow/functions.php @@ -121,6 +121,14 @@ function stow_fonts_url() { if ( 'off' !== $oswald ) { $font_families[] = 'Oswald:300,400'; } + + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/stratford/functions.php b/stratford/functions.php index ce7cb5ed360b0255fd6630552397178dd69eb428..50d6cd90fc8f86a68bb596a8f72e86366f9d501a 100755 --- a/stratford/functions.php +++ b/stratford/functions.php @@ -123,6 +123,13 @@ function stratford_fonts_url() { $font_families[] = 'Inconsolata:400,700'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), diff --git a/toujours/functions.php b/toujours/functions.php index 86929bade3cdd8f860d565bc33189fa7b9f295a5..7745830ee9c805cb6ff59b331ca8c85da73e54d7 100644 --- a/toujours/functions.php +++ b/toujours/functions.php @@ -312,6 +312,13 @@ function toujours_fonts_url() { $font_families[] = 'Merriweather:700italic,400,400italic,700,600'; } + /** + * A filter to enable child themes to add/change/omit font families. + * + * @param array $font_families An array of font families to be imploded for the Google Font API + */ + $font_families = apply_filters( 'included_google_font_families', $font_families ); + $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ),