get_site_allowed_themes()
Deprecated from version 3.4.0. It is no longer supported and can be removed in future releases. Use WP_Theme::get_allowed_on_network() instead.
Deprecated functionality for getting themes network-enabled themes.
No Hooks.
Return
null
. Nothing (null).
Usage
get_site_allowed_themes();
Notes
Changelog
Deprecated since 3.4.0 | Use WP_Theme::get_allowed_on_network() |
get_site_allowed_themes() get site allowed themes code WP 6.8
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() ); }