twentytwenty_toggle_duration

过滤钩子


apply_filters( 'twentytwenty_toggle_duration', 250 )
参数
  • (int)
    $duration
    Duration in milliseconds.
    Required:
定义位置
  • wp-content/themes/twentytwenty/inc/template-tags.php , line 808
引入
Twenty Twenty 1.0
弃用

Filters the animation duration/speed used usually for submenu toggles.

$duration = apply_filters( 'twentytwenty_toggle_duration', 250 );