get_site_allowed_themes()

In this article

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

Deprecated functionality for getting themes network-enabled themes.

Description

See also

Source

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

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.