
WordPress函数文件Functions.php教程指南:定义、使用、替代方案及实例
apply_filters( 'twentyten_attachment_height', 900 )
twentyten_attachment_height – 此函数用于指定 Twenty Ten 主题中附件的高度: 该函数返回附件的高度,可用于以正确的尺寸显示附件。
过滤Twenty Ten的默认附件高度。
$attachment_height = apply_filters( 'twentyten_attachment_height', 900 );