A WordPress-centric search engine for devs and theme authors



twentyseventeen_front_page_sections ›

SinceTwenty Seventeen 1.0
Deprecatedn/a
apply_filters( 'twentyseventeen_front_page_sections', 4 )
Parameters:
  • (int) $num_sections Number of front page sections.
    Required: Yes
Defined at:
Codex:

Filter number of front page sections in Twenty Seventeen.





Source

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