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



twentyseventeen_front_page_sections ›

SinceTwenty Seventeen 1.0
已弃用n/a
apply_filters( 'twentyseventeen_front_page_sections', 4 )
参数:
  • (int) $num_sections Number of front page sections.
    Required: Yes
定义在:
文档:

Filter number of front page sections in Twenty Seventeen.





源码

$num_sections = apply_filters( 'twentyseventeen_front_page_sections', 4 );