src/Wallhaven/Wallpaper.php
public function getTags()
    {
        if ($this->cacheEnabled && $this->tags !== null) {
            return $this->tags;
        }

        $dom = $this->getDom();

        $this->tags = [];

        foreach ($dom->find('a.tagname') as $e) {
            $this->tags[] = $e->text;
        }

        return $this->tags;
    }
public function getTags()
    {
        if ($this->cacheEnabled && $this->tags !== null) {
            return $this->tags;
        }

        $dom = $this->getDom();

        $this->tags = [];

        foreach ($dom->find('a.tagname') as $e) {
            $this->tags[] = $e->text;
        }

        return $this->tags;
    }
Get wallpaper tags.

@return string[] Tags.