API / Minn\Theme / ClassicContent

ClassicContent final class

Minn\Theme\ClassicContent · public/minn/src/Minn/Theme/ClassicContent.php · 44 lines

What a classic theme's the_content() prints: the content as written (the more-tag teaser in listings, the password gate's form in its place) through the_content, the engine's block renderer in do_blocks's place for block content and core's own defaults for classic content, so plugin code is handed what the reference hands it, in the same hook order.

Public

staticrender(Minn\Content\PostRecord $post, ?string $moreLinkText, Minn\Theme\Teaser $teaser = Minn\Theme\Teaser::Kept): string#

A post's content as the classic loop prints it, with the more link.