Sponsored Link
テーマ機能のために与えられたテーマのサポートをチェックします。
Sponsored Link
Checks a theme’s support for a given feature
current_theme_supportsのファンクションタグ使用方法
<?php current_theme_supports( $feature ) ?>
current_theme_supportsのパラメーター
$feature
(string) (required) the feature being checked
Default: None
機能リスト:
- ‘custom-header’
- ‘custom-background’
- ‘post-thumbnails’
- ‘menus’
- ‘automatic-feed-links’
- ‘editor-style’
- ‘widgets’
戻り値
(boolean)
注釈
- Uses global: (unknown type) $_wp_theme_features
変更ログ
Since: 2.9.0
ソースファイル
current_theme_supports()は、wp-includes/theme.php内に位置しています。
current_theme_supports() is located in wp-includes/theme.php.