twenty_twenty_one_can_show_post_thumbnail

過濾鉤子
引數
  • (bool) $show_post_thumbnail Whether to show post thumbnail.
    Required:
定義位置
  • wp-content/themes/twentytwentyone/inc/template-functions.php , line 113
相關勾子
twentynineteen_can_show_post_thumbnailtwenty_twenty_one_svg_icons_socialtwenty_twenty_one_content_widthend_fetch_post_thumbnail_htmltwenty_twenty_one_attachment_size
相關方法
get_the_post_thumbnaildelete_post_thumbnailwp_ajax_set_post_thumbnailget_the_post_thumbnail_urlthe_post_thumbnailget_the_post_thumbnail_caption
引入
Twenty Twenty-One 1.0
棄用
-

twenty_twenty_one_can_show_post_thumbnail:此函式用於確定是否可以為給定的文章顯示文章縮圖。

設定是否可以顯示文章縮圖。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
return apply_filters(
return apply_filters(
return apply_filters(

常見問題

FAQs
檢視更多 >