wpseek.com
A WordPress-centric search engine for devs and theme authors



twentyseventeen_should_show_featured_image › WordPress Filter Hooks

SinceTwenty Seventeen 3.7
Deprecatedn/a
apply_filters( 'twentyseventeen_should_show_featured_image', $show_featured_image )
Parameters:
  • (bool) $show_featured_image Whether to display the featured image below the header.
    Required: Yes
Defined at:
Codex:

Filters whether to show the Twenty Seventeen featured image below the header.

By default, the image is displayed on single posts and pages, unless the page is the front page.





Source

return apply_filters( 'twentyseventeen_should_show_featured_image', $show_featured_image );