packages/kirki-framework/module-webfonts/src/Webfonts/Helper.php
Method download_font_file
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function download_font_file( $url ) {
$saved_fonts = get_option( 'kirki_font_local_filenames', [] );
if ( isset( $saved_fonts[ $url ] ) && file_exists( $saved_fonts[ $url ]['file'] ) ) {
return str_replace(
- Create a ticketCreate a ticket