On this page
get_site_allowed_themes()
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
File: wp-admin/includes/ms-deprecated.php. View all references
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() );
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Theme::get_allowed_on_network() wp-includes/class-wp-theme.php | Returns array of stylesheet names of themes allowed on the network. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_site_allowed_themes