Skip to content

Commit 429a920

Browse files
committed
use new filter astra_google_fonts_selected for removing the fonts from google fonts list
1 parent 7845924 commit 429a920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/class-custom-typekit-fonts-render.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function __construct() {
7878

7979
add_action( 'enqueue_block_editor_assets', array( $this, 'typekit_embed_css' ) );
8080
// Astra filter before creating google fonts URL.
81-
add_filter( 'astra_google_fonts', array( $this, 'remove_typekit_font_google_url' ) );
81+
add_filter( 'astra_google_fonts_selected', array( $this, 'remove_typekit_font_google_url' ) );
8282
}
8383

8484
/**

0 commit comments

Comments
 (0)