wpml language current filter code example Example: wpml get current language filter $my_current_lang = apply_filters( 'wpml_current_language', NULL );