geoip_close

The Google Font Fix geoip close function.

Description

geoip_close( $gi ); 

Parameters (1)

0. $gi
The gi.

Usage

  1. if ( !function_exists( 'geoip_close' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-font-fix/geo/geoip.inc.php'; 
  3.  
  4. // The gi. 
  5. $gi = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = geoip_close($gi); 
  9.  

Defined (1)

The function is defined in the following location(s).

/geo/geoip.inc.php  
  1. function geoip_close($gi) 
  2. if ($gi->flags & GEOIP_SHARED_MEMORY) { 
  3. return true; 
  4.  
  5. return fclose($gi->filehandle);