current_theme_supports-{$feature}

最后更新于:2021-11-26 04:03:05

apply_filters( “current_theme_supports-{$feature}”, bool $supports, array $args, string $feature )

Filters whether the current theme supports a specific feature.

参数

$supports

(bool)
Whether the current theme supports the given feature. Default true.

$args

(array)
Array of arguments for the feature.

$feature

(string)
The theme feature.

源文件

文件: gc-includes/theme.php

View on Trac