WordPress开发者和主题制作者的搜索引擎



get_site_allowed_themes ›

Sincen/a
已弃用3.4.0
get_site_allowed_themes ( 没有参数 )
查看:
  • WP_Theme::get_allowed_on_network()
定义在:
文档:

Deprecated functionality for getting themes network-enabled themes.



源码

function get_site_allowed_themes() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'WP_Theme::get_allowed_on_network()' );
	return array_map( 'intval', WP_Theme::get_allowed_on_network() );
}