icl_get_home_url

The Polylang icl get home url function.

Description

icl_get_home_url(); 

Usage

  1. if ( !function_exists( 'icl_get_home_url' ) ) { 
  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_home_url(); 
  7.  

Defined (1)

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

/modules/wpml/wpml-legacy-api.php  
  1. function icl_get_home_url() { 
  2. return pll_home_url();