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

Top ↑

See also


Top ↑

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


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.