2020-05-01 / 2371阅 / 悠然
Checks a theme’s support for a given feature.
Example usage:
current_theme_supports( 'custom-logo' ); current_theme_supports( 'html5', 'comment-form' );
(string)
(Required)
The feature being checked.
(mixed)
(Optional)
extra arguments to be checked against certain features.
(bool) True if the current theme supports the feature, false otherwise.