You are here

function nodewords_check_api_version in Nodewords: D6 Meta Tags 6.2

Verify the API version is one currently supported by Nodewords.

Parameters

$version: The version string as accepted by version_compare().

Return value

TRUE, if the API version is currently supported by Nodewords.

1 call to nodewords_check_api_version()
nodewords_load_all_includes in ./nodewords.module
Load an include file for each of the modules that have support for Nodewords.

File

./nodewords.module, line 300
Implement an API that other modules can use to add meta tags.

Code

function nodewords_check_api_version($version) {
  return version_compare($version, NODEWORDS_MINIMUM_API_VERSION, '>=') && version_compare($version, NODEWORDS_API_VERSION, '<=');
}