value ) ) { return; } // Hack for standard fonts. $this->value = str_replace( '"', '"', $this->value ); // Add backup font. if ( Kirki_Fonts::is_google_font( $this->value ) ) { if ( isset( $google_fonts_array[ $this->value ] ) && isset( $google_fonts_array[ $this->value ]['category'] ) ) { if ( isset( $backup_fonts[ $google_fonts_array[ $this->value ]['category'] ] ) ) { // Add double quotes if needed. if ( false !== strpos( $this->value, ' ' ) && false === strpos( $this->value, '"' ) ) { $this->value = '"' . $this->value . '", ' . $backup_fonts[ $google_fonts_array[ $this->value ]['category'] ]; } else { $this->value .= ', ' . $backup_fonts[ $google_fonts_array[ $this->value ]['category'] ]; } } } } else { // Add double quotes if needed. if ( false !== strpos( $this->value, ' ' ) && false === strpos( $this->value, '"' ) ) { $this->value = '"' . $this->value . '"'; } } } } }