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



twentyseventeen_content_width ›

SinceTwenty Seventeen 1.0
已弃用n/a
apply_filters( 'twentyseventeen_content_width', $content_width )
参数:
  • (int) $content_width Content width in pixels.
    Required: Yes
定义在:
文档:

Filter Twenty Seventeen content width of the theme.





源码

$GLOBALS['content_width'] = apply_filters( 'twentyseventeen_content_width', $content_width );