original_string: public static function get_google_fonts() {
  		$google_fonts = get_transient( '_suru_libs_google_fonts' );
  
  		if ( ! is_array( $google_fonts ) || empty( $google_fonts ) ) {
  			// Fallback to load fonts from local file.
  			$google_fonts = json_decode(
  				file_get_contents( dirname( dirname( __DIR__ ) ) . '/Resources/webfonts.json' ), true
  			);
  
  			static::set_transients( $google_fonts );
  		}
  
  		return apply_filters( 'suru_libs_system_fonts', $google_fonts );
  	}
code: public static function get_google_fonts() {
  		$google_fonts = get_transient( '_suru_libs_google_fonts' );
  
  		if ( ! is_array( $google_fonts ) || empty( $google_fonts ) ) {
  			// Fallback to load fonts from local file.
  			$google_fonts = json_decode(
  				file_get_contents( dirname( dirname( __DIR__ ) ) . '/Resources/webfonts.json' ), true
  			);
  
  			static::set_transients( $google_fonts );
  		}
  
  		return apply_filters( 'suru_libs_system_fonts', $google_fonts );
  	}
code_tokens: public static function get_google_fonts ( ) { $ google_fonts = get_transient ( '_suru_libs_google_fonts' ) ; if ( ! is_array ( $ google_fonts ) || empty ( $ google_fonts ) ) { // Fallback to load fonts from local file. $ google_fonts = json_decode ( file_get_contents ( dirname ( dirname ( __DIR__ ) ) . '/Resources/webfonts.json' ) , true ) ; static :: set_transients ( $ google_fonts ) ; } return apply_filters ( 'suru_libs_system_fonts' , $ google_fonts ) ; }
docstring: Gets the Google Fonts.
  
  @see https://developers.google.com/fonts/docs/developer_api
  
  @return array
docstring_tokens: Gets the Google Fonts .