ArchiveLinks final class
Minn\Runtime\ArchiveLinks · public/minn/src/Minn/Runtime/ArchiveLinks.php · 41 lines
A post type's archive address and its feed, as the reference gives them (probe archive-links). The posts' archive is the posts page when the front is a page with one, else the bare home; a type with an archive lives under its named archive or its rewrite slug (after the structure's front unless it declines it), or at ?post_type= without rewrites or pretty permalinks; any other type has none (false, no filter). Its feed is the archive's /feed/ (/feed/{type}/ for one not the default) when the type's rewrite takes feeds, else ?feed= with the type spelled out.
Uses 2
Public
Nothing matches.