API / Minn\Runtime / SiteInfo

SiteInfo final class

Minn\Runtime\SiteInfo · public/minn/src/Minn/Runtime/SiteInfo.php · 63 lines

What WordPress tells about the site (get_bloginfo): its name and tagline, its addresses and feeds', the theme's stylesheet and folders, the admin address, the charset and content type, the version, the language and its direction; and a feed's address.

Public

staticget(mixed $show = '', mixed $filter = 'raw'): mixed#

One fact about the site (get_bloginfo), its name when none is asked; for display through bloginfo_url (an address) or bloginfo.

staticrss(mixed $show = ''): mixed#

One fact about the site for a feed (get_bloginfo_rss): escaped whole, tags included, through get_bloginfo_rss.

staticfeedLink(mixed $feed = ''): mixed#

A feed's address (get_feed_link): the default feed bare, through feed_link handed '' for it; its ?feed= form without pretty permalinks.