icl_get_default_language

The Polylang icl get default language function.

Description

icl_get_default_language(); 

Usage

  1. if ( !function_exists( 'icl_get_default_language' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'polylang/modules/wpml/wpml-legacy-api.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = icl_get_default_language(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/wpml/wpml-legacy-api.php  
  1. function icl_get_default_language() {