public function get_continents() { if (empty($this->continents)) { $this->continents = apply_filters('woocommerce_continents', include WC()->plugin_path() . '/i18n/continents.php'); } return $this->continents; }