wpseek.com
A WordPress-centric search engine for devs and theme authors



twentyseventeen_front_page_sections › WordPress Filter Hooks

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:

Filters the number of front page sections in Twenty Seventeen.





Source

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