function nodewords_check_version in Nodewords: D6 Meta Tags 6.3
Verify the version version is one currently supported by Nodewords.
Parameters
$version: The version string as accepted by version_compare().
Return value
TRUE, if the version version is currently supported by Nodewords.
4 calls to nodewords_check_version()
- nodewords_admin_form_taxonomy_form_term_alter in nodewords_admin/
nodewords_admin.module - Implements hook_form_FORM_ID_alter().
- nodewords_load_all_includes in ./
nodewords.module - Load an include file for each of the modules that have support for Nodewords.
- nodewords_ui_form_nodewords_admin_settings_form_alter in nodewords_ui/
nodewords_ui.module - Implements hook_form_FORM_ID_alter().
- nodewords_ui_user in nodewords_ui/
nodewords_ui.module - Implements hook_user().
File
- ./
nodewords.module, line 321 - Implement an version that other modules can use to add meta tags.
Code
function nodewords_check_version($version) {
return version_compare($version, NODEWORDS_MINIMUM_VERSION, '>=') && version_compare($version, NODEWORDS_VERSION, '<=');
}