A WordPress-centric search engine for devs and theme authors



get_site_allowed_themes ›

Sincen/a
Deprecated3.4.0
get_site_allowed_themes ( No parameters )
See:
  • WP_Theme::get_allowed_on_network()
Defined at:
Codex:

Deprecated functionality for getting themes network-enabled themes.



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