Function Reference: geodir_is_wpml

Summary

Check wpml active or not.

Return Values

(True)
  • if WPML is active else False.

Change Log

Since: 1.5.0

Source File

geodir_is_wpml() is located in geodirectory-functions/custom_functions.php [Line: 2521]

Source Code

function geodir_is_wpml() {
	if (class_exists('SitePress') && function_exists('icl_object_id')) {
		return true;
	}

	return false;
}