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

get_site_allowed_themes() WordPress Function

The get_site_allowed_themes() function is used to get an array of themes allowed on a site.

get_site_allowed_themes() #

Deprecated functionality for getting themes network-enabled themes.


Description

Top ↑

See also


Top ↑

Source

File: wp-admin/includes/ms-deprecated.php

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


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.