W3cubDocs

/WordPress

wpmu_get_blog_allowedthemes( $blog_id )

This function has been deprecated. Use WP_Theme::get_allowed_on_site() instead.

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 ) );
}

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wpmu_get_blog_allowedthemes