Skip to content

Commit acfcd64

Browse files
authored
Merge pull request #19 from brainstormforce/astra-use-new-filter
use new filter astra_google_fonts_selected
2 parents ae3c420 + 429a920 commit acfcd64

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)