Description

Checks is the WP Geo database version is greater or equal to $version.

Usage

<?php wpgeo_check_db_version( $version ); ?>

Parameters

$version
(int) Database version.

Examples

Check if the database version is 2 or higher.

<?php
if ( wpgeo_check_db_version( 2 ) ) {
	// Database version is 2 or higher
}
?>

Change Log

Since: 3.2

Source File

wpgeo_check_db_version() is located in wp-includes/functions.php.

Related

wpgeo_check_version

Leave a Reply