updated theme Twenty Nineteen version 3.3

This commit is contained in:
2026-06-03 21:29:36 +00:00
committed by Gitium
parent 4421f79f19
commit b7d289f90e
24 changed files with 456 additions and 568 deletions

View File

@ -11,7 +11,16 @@
* Determines if post thumbnail can be displayed.
*/
function twentynineteen_can_show_post_thumbnail() {
return apply_filters( 'twentynineteen_can_show_post_thumbnail', ! post_password_required() && ! is_attachment() && has_post_thumbnail() );
$show_post_thumbnail = ! post_password_required() && ! is_attachment() && has_post_thumbnail();
/**
* Filters whether to show post thumbnail.
*
* @since Twenty Nineteen 1.0
*
* @param bool $show_post_thumbnail Whether to show post thumbnail.
*/
return apply_filters( 'twentynineteen_can_show_post_thumbnail', $show_post_thumbnail );
}
/**