Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_Integration_MaxMind_Geolocation::get_database_prefix()
Fetches the prefix for the MaxMind database file.
Description Description
Return Return
(string)
Source Source
File: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
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; }