model = &$polylang->model; $this->options = &$polylang->options; } /** * Returns the list of the slugs of enabled languages. * * @since 1.0 * * @return string[] */ protected function get_languages_slugs() { return $this->model->get_languages_list( array( 'fields' => 'slug' ) ); } }