函数原型
get_registered_theme_features(): array[]
函数描述
Gets the list of registered theme features.
是否弃用
未弃用
函数参数
无
函数返回值
array[] List of theme features, keyed by their name.
函数位置
File: wp-includes/theme.php.
函数源码
function get_registered_theme_features() {
global $_wp_registered_theme_features;
if ( ! is_array( $_wp_registered_theme_features ) ) {
return array();
}
return $_wp_registered_theme_features;
}
源码链接
变更日志
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |

