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



wpmu_get_blog_allowedthemes ›

Sincen/a
已弃用3.4.0
wpmu_get_blog_allowedthemes ( $blog_id = 0 )
查看:
  • WP_Theme::get_allowed_on_site()
定义在:
文档:

Deprecated functionality for getting themes allowed on a specific site.



源码

function wpmu_get_blog_allowedthemes( $blog_id = 0 ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'WP_Theme::get_allowed_on_site()' );
	return array_map( 'intval', WP_Theme::get_allowed_on_site( $blog_id ) );
}