WC_Geolite_Integration::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Geolite_Integration{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Geolite_Integration = new WC_Geolite_Integration();
$WC_Geolite_Integration->__construct( $database );
$database(string) (required)
MaxMind GeoLite2 database path.

WC_Geolite_Integration::__construct() code WC 8.7.0

public function __construct( $database ) {
	$this->database = $database;
}