Warning: This function has been deprecated. Use WP_Theme::get_allowed_on_site() instead.
wpmu_get_blog_allowedthemes() WordPress Function
The wpmu_get_blog_allowedthemes() function is used to get a list of themes that are allowed to be used on a WordPress site. This function is only available to WordPress sites that are part of a WordPress multisite network.
wpmu_get_blog_allowedthemes( $blog_id ) #
Deprecated functionality for getting themes allowed on a specific site.
Description
See also
Source
File: wp-admin/includes/ms-deprecated.php
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 ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |