model->get_language( $this->links_model->get_language_from_url() ); } /** * Adds query vars to query for home pages in all languages * * @since 1.5 */ public function home_requested() { $this->set_lang_query_var( $GLOBALS['wp_query'], $this->curlang ); /** This action is documented in include/choose-lang.php */ do_action( 'pll_home_requested' ); } }