get_site_allowed_themes

Advertisement

Deprecated Deprecated

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

Summery Summery

Deprecated functionality for getting themes network-enabled themes.

Syntax Syntax

get_site_allowed_themes()

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

See also See also

Advertisement

Leave a Reply