wp-content/themes/twentyseventeen/functions.php:711Shows the featured image below the header on single posts and pages, unless the page is the front page.
boolOne hook fires while twentyseventeen_should_show_featured_image() runs, in this order:
Filters whether to show the Twenty Seventeen featured image below the header.
function twentyseventeen_should_show_featured_image() { $show_featured_image = ( is_single() || ( is_page() && ! twentyseventeen_is_frontpage() ) ) && has_post_thumbnail( get_queried_object_id() ); /** * 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. * * @since Twenty Seventeen 3.7 * * @param bool $show_featured_image Whether to display the featured image below the header. */ return apply_filters( 'twentyseventeen_should_show_featured_image', $show_featured_image );}Introduced in Twenty Seventeen 3.7. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyseventeen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.