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 9.1.2

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