wpseek.com
WordPress开发者和主题制作者的搜索引擎



twentyseventeen_should_show_featured_image › WordPress过滤钩子

Sincen/a
已弃用n/a
› apply_filters( 'twentyseventeen_should_show_featured_image', $show_featured_image )
参数:
  • () show_featured_image Whether to display the featured image below the header.
    Required: Yes
定义在:
文档:

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.




源码

return apply_filters( 'twentyseventeen_should_show_featured_image', $show_featured_image );