WPML
PHP
wpml_head_langs

Description

This filter receives the list of languages as input.

Example Usage

PHP
$languages = $this->sitepress->get_ls_languages( array( 'skip_missing' => true ) );
$languages = apply_filters( 'wpml_head_langs', $languages );