fix for users with wpml getting function not exist
tagging 1.4.1