install_themes_feature_list [ WordPress Function ]
install_themes_feature_list ( No parameters )
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_theme_feature_list, install_themes_upload, install_theme_information, install_theme_search_form, install_themes_dashboard
Retrieve list of WordPress theme features (aka theme tags)
Source
<?php
function install_themes_feature_list( ) {
if ( !$cache = get_transient( 'wporg_theme_feature_list' ) )
set_transient( 'wporg_theme_feature_list', array( ), 10800);
if ( $cache )
return $cache;
$feature_list = themes_api( 'feature_list', array( ) );
if ( is_wp_error( $feature_list ) )
return $features;
set_transient( 'wporg_theme_feature_list', $feature_list, 10800 );
return $feature_list;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/install themes feature list « WordPress Codex
Description. Retrieve list of WordPress theme features (aka theme tags). Usage. <?php install_themes_feature_list() ?> Parameters. None. Return Values. (array) ...
codex.wordpress.org - #14936 (Improve theme searching/browsing) – WordPress Trac
(In [15655]) get_theme_feature_list() replaces install_themes_feature_list(). Does translation and works if feature_list is not accessible from api.wordpress.org.
core.trac.wordpress.org - PHPXRef 0.7 : WordPress : Detail view of theme-install.php
install_themes_feature_list() install_theme_search_form() install_themes_dashboard() install_themes_upload() display_theme() display_themes() ...
phpxref.ftwr.co.uk - wp-admin/includes/theme-install.php source
28 * 29 * @return array 30 */ 31 function install_themes_feature_list( ) { 32 if ( !$ cache = get_transient( 'wporg_theme_feature_list' ) ) 33 set_transient( ...
phpxref.ftwr.co.uk