WordPress at Your Fingertips
function is not described

WC_Integration_MaxMind_Geolocation::get_database_prefix() private WC 1.0

Fetches the prefix for the MaxMind database file.

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

No Hooks.

Return

String.

Usage

// private - for code of main (parent) class only
$result = $this->get_database_prefix();

Code of WC_Integration_MaxMind_Geolocation::get_database_prefix() WC 5.9.0

private function get_database_prefix() {
	$prefix = $this->get_option( 'database_prefix' );
	if ( empty( $prefix ) ) {
		$prefix = wp_generate_password( 32, false );
		$this->update_option( 'database_prefix', $prefix );
	}

	return $prefix;
}