get_enclosure example


    public function get_permalink()
    {
        $link = $this->get_link();
        $enclosure = $this->get_enclosure(0);
        if ($link !== null)
        {
            return $link;
        }
        elseif ($enclosure !== null)
        {
            return $enclosure->get_link();
        }

        return null;
    }

    
Home | Imprint | This part of the site doesn't use cookies.