WordPress at Your Fingertips
function is not described

get_site_allowed_themes() WP 1.0

Deprecated from version 3.4.0. It is no longer supported and can be removed in future releases. Use WP_Theme::get_allowed_on_network() instead.

Deprecated functionality for getting themes network-enabled themes.

No Hooks.

Return

null. Nothing.

Usage

get_site_allowed_themes();

Notes

Changelog

Deprecated Since 3.4.0 Use WP_Theme::get_allowed_on_network()

Code of get_site_allowed_themes() WP 5.8.2

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