wp-content/themes/twentynineteen/inc/helper-functions.php:13Determines if post thumbnail can be displayed.
One hook fires while twentynineteen_can_show_post_thumbnail() runs, in this order:
function twentynineteen_can_show_post_thumbnail() { return apply_filters( 'twentynineteen_can_show_post_thumbnail', ! post_password_required() && ! is_attachment() && has_post_thumbnail() );}Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentynineteen/inc/helper-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.