WordPress at Your Fingertips
function is not described

WC_Geolite_Integration::__construct() public WC 1.0

Constructor.

{} It's a method of the class: WC_Geolite_Integration{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Geolite_Integration::__construct() WC 5.8.0

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