get_site_allowed_themes

Deprecated functionality for getting themes network-enabled themes.

Description

get_site_allowed_themes(); 

Usage

  1. if ( !function_exists( 'get_site_allowed_themes' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/ms-deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_site_allowed_themes(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/ms-deprecated.php  
  1. function get_site_allowed_themes() { 
  2. _deprecated_function( __FUNCTION__, '3.4.0', 'WP_Theme::get_allowed_on_network()' ); 
  3. return array_map( 'intval', WP_Theme::get_allowed_on_network() );