Skip to main content

Filter: daymark_featured_content_html

Filters a post's rendered Featured Content markup — the escape hatch for a theme that wants Featured Content to look different from this class's own default rendering.

Parameters​

NameTypeDescription
$htmlstringDefault rendered markup, or '' when nothing rendered.
$fcarray\{type: string, data: array<string,mixed>\}Resolved Featured Content.
$post\WP_PostThe post.
$argsarray<string,mixed>Rendering options passed to the_featured_content()/get_the_featured_content().

Since​

  • 0.18.0

Source​

Defined in includes/class-featured-content.php at line 618