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_curlang_in_query( $GLOBALS['wp_query'] ); /** This action is documented in include/choose-lang.php */ do_action( 'pll_home_requested' ); } }