get_allowed_themes [ WordPress Function ]
get_allowed_themes ( No parameters )
| See: | |
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_site_allowed_themes, wpmu_get_blog_allowedthemes, get_allowed_mime_types, get_broken_themes, get_themes
Get the allowed themes for the current blog.
Source
<?php
function get_allowed_themes() {
_deprecated_function( __FUNCTION__, '3.4', "wp_get_themes( array( 'allowed' => true ) )" );
$themes = wp_get_themes( array( 'allowed' => true ) );
$wp_themes = array();
foreach ( $themes as $theme ) {
$wp_themes[ $theme->get('Name') ] = $theme;
}
return $wp_themes;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- WordPress › Support » get_allowed_themes()
[resolved] get_allowed_themes() (3 posts). pescadito01. Member Posted 1 year ago #. Hi. in a multisite wp 30, i want to get the enabled themes of one blog but ...
wordpress.org - Docs for page theme.php
themes_api (line 272). Retrieve theme installer pages from WordPress Themes API. It is possible for a theme to override the Themes API result with three filters.
phpdoc.wordpress.org - get_allowed_themes - Function Reference - PHP Cross Reference ...
Jun 1, 2011 ... Function and Method Cross Reference. get_allowed_themes(). Defined at: /wp- admin/includes/theme.php -> line 122. Referenced 1 times: ...
xref.yoast.com - get_allowed_themes (WordPress Function) - WPSeek.com
WordPress lookup for get_allowed_themes, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com